SMAHR02500_1차건진결과[공단건진].xrw 139 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * 제 목 : SMAHR01000.xrw
  4. * 설 명 : 검사결과관리[일반건진]
  5. * 설 계 자 : 김호익
  6. * 작 성 자 : 김호익
  7. * 작 성 일 : 2007.07.13
  8. * 수정이력 :
  9. * 기 타 :
  10. -->
  11. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
  12. <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
  13. <xhtml:head>
  14. <xhtml:title>Untitle</xhtml:title>
  15. <model id="model1">
  16. <instance id="instance1">
  17. <root xmlns="">
  18. <main>
  19. <acptinfo>
  20. <item>
  21. <pid/>
  22. <hngnm/>
  23. <rgstno1/>
  24. <rgstno2/>
  25. <sex/>
  26. <age/>
  27. <cmpycd/>
  28. <cmpynm/>
  29. <pkgcd/>
  30. <pkgnm/>
  31. <schlgrde/>
  32. <clsid/>
  33. <stuid/>
  34. <plceflag/>
  35. <orddd/>
  36. <judgdd/>
  37. <judgdrid/>
  38. <drnm/>
  39. <reexamfg/>
  40. </item>
  41. <rsltlst>
  42. <item>
  43. <prcpdd/>
  44. <execprcpuniqno/>
  45. <prcpno/>
  46. <testcd/>
  47. <testnm/>
  48. <testrsltcnts>
  49. </testrsltcnts>
  50. <outtestrsltcnts/>
  51. <rsltunit/>
  52. <rsltflag/>
  53. <remcnts/>
  54. <assorsltcnts/>
  55. <judgcd/>
  56. <judgrsltcnts/>
  57. <inptflag/>
  58. <choirslt>
  59. <item/>
  60. </choirslt>
  61. <judgmark/>
  62. <refh/>
  63. <refl/>
  64. </item>
  65. </rsltlst>
  66. <rsltlst2>
  67. <item>
  68. <prcpdd/>
  69. <execprcpuniqno/>
  70. <prcpno/>
  71. <testcd/>
  72. <testnm/>
  73. <testrsltcnts>
  74. </testrsltcnts>
  75. <outtestrsltcnts/>
  76. <rsltunit/>
  77. <rsltflag/>
  78. <remcnts/>
  79. <assorsltcnts/>
  80. <judgcd/>
  81. <judgrsltcnts/>
  82. <inptflag/>
  83. <choirslt>
  84. <item/>
  85. </choirslt>
  86. <judgmark/>
  87. <refh/>
  88. <refl/>
  89. </item>
  90. </rsltlst2>
  91. <judginfo>
  92. <firstjudg>
  93. <fst_inqryn>Y</fst_inqryn>
  94. <fst_estmamt/>
  95. <fst_judgcd/>
  96. <fst_bjudgdetl/>
  97. <fst_etcsickflag/>
  98. <fst_etcsickcnts/>
  99. <fst_cjudgdetl/>
  100. <fst_etcsickcnts1/>
  101. <fst_r1judgdetl/>
  102. <fst_etcsickcnts2/>
  103. <fst_r2judgdetl/>
  104. <fst_judgexamcd/>
  105. <fst_judgexamcnts/>
  106. <fst_histflag/>
  107. <fst_histcnts/>
  108. <fst_lifestatflag/>
  109. <fst_lifestatcnts/>
  110. <fst_trmaflag/>
  111. <fst_gnrlstatflag/>
  112. <fst_judgdd/>
  113. <fst_judgdrid/>
  114. <fst_d1sickyn/>
  115. <fst_d1sickcd/>
  116. <fst_d2sickyn/>
  117. <fst_d2sickcd/>
  118. <fst_aftmngt/>
  119. <fst_ajudgcd/>
  120. <fst_bjudgcd/>
  121. <fst_cjudgcd/>
  122. <fst_r1judgcd/>
  123. <fst_r2judgcd/>
  124. <fst_barojochicnts/>
  125. <fst_item01/>
  126. <fst_item02/>
  127. <fst_item03/>
  128. <fst_item04/>
  129. <fst_inqrdrid/>
  130. </firstjudg>
  131. <firstd1sicklst>
  132. <judgdetlcd/>
  133. <sickcd/>
  134. <sicknm/>
  135. </firstd1sicklst>
  136. <firstd2sicklst>
  137. <judgdetlcd/>
  138. <sickcd/>
  139. <sicknm/>
  140. </firstd2sicklst>
  141. <secondjudg>
  142. <sec_judgcd/>
  143. <sec_D1sickcd/>
  144. <sec_D2sickcd/>
  145. <sec_aftercd/>
  146. <sec_judgexamcd/>
  147. <sec_rsltsmmcnt/>
  148. <sec_judgdd/>
  149. <sec_judgdrid/>
  150. <sec_bjudgdetl/>
  151. <sec_cjudgdetl/>
  152. <sec_d2judgdetl/>
  153. <sec_d1judgdetl/>
  154. <sec_colgrecmfact/>
  155. <sec_glycosyn/>
  156. <sec_hypetsyn/>
  157. <sec_glycosdetl/>
  158. <sec_hypetsdetl/>
  159. <sec_glycosanamnesisyn/>
  160. <sec_hypetsanamnesisyn/>
  161. <sec_glycosanamnesisdetl/>
  162. <sec_hypetsanamnesisdetl/>
  163. <sec_awarfunthandcap/>
  164. <sec_melancholia1/>
  165. <sec_melancholia2/>
  166. <sec_smokyn/>
  167. <sec_smoknicotinedepend/>
  168. <sec_smokprcp/>
  169. <sec_drunkyn/>
  170. <sec_drunkvalu/>
  171. <sec_drunkprcp/>
  172. <sec_exeryn/>
  173. <sec_exervalu/>
  174. <sec_exerkind/>
  175. <sec_exertm/>
  176. <sec_exertims/>
  177. <sec_nutryn/>
  178. <sec_nutrvalu/>
  179. <sec_nutrprcprecm/>
  180. <sec_nutrprcptemperance/>
  181. <sec_nutrmealhabit/>
  182. <sec_nutrlnk/>
  183. <sec_fatyn/>
  184. <sec_fatsievqtyindx/>
  185. <sec_fatabdmn/>
  186. <sec_fatprcp/>
  187. <sec_scndjudgdd/>
  188. <sec_scndjudgdrid/>
  189. </secondjudg>
  190. <oraljudg>
  191. <oral_estmamt/>
  192. <oral_judgcd/>
  193. <oral_judgdrid/>
  194. <oral_judgdd/>
  195. </oraljudg>
  196. <specjudg/>
  197. <genrjudg/>
  198. <lifehabitprcp>
  199. <atdoct/>
  200. <smokflag/>
  201. <nicodepend/>
  202. <nosmokbookread/>
  203. <nicochangeregm/>
  204. <nosmokdrug/>
  205. <suppservice/>
  206. <suppserviceetc/>
  207. <smokbettersick/>
  208. <drunkstat/>
  209. <nodrunkday/>
  210. <daydrunkcnt/>
  211. <weekdrunkcnt/>
  212. <drunkrestday/>
  213. <drunkdiary/>
  214. <nodrunkbook/>
  215. <drunkdrug/>
  216. <drunketc/>
  217. <drunkbettersick/>
  218. <exergrade/>
  219. <exerkind/>
  220. <exerkindetc/>
  221. <exertime/>
  222. <exertimeetc/>
  223. <exercnt/>
  224. <exerbettersick/>
  225. <exerbettersicketc/>
  226. <exerreq/>
  227. <ntrhabit/>
  228. <ntrhabitbetterprcp/>
  229. <ntrbettersick/>
  230. <ntrbettersicketc/>
  231. <ntrreq/>
  232. <bodyweight/>
  233. <fatstat/>
  234. <sickoccurgrade/>
  235. <reduweightper/>
  236. <goalweight/>
  237. <goalmonth/>
  238. <reduweight/>
  239. <fatprcp/>
  240. <fatdrugcure/>
  241. <fatprcpetc/>
  242. <fatbettersick/>
  243. <fatbettersicketc/>
  244. <fatreq/>
  245. <nosmokuseyn/>
  246. <nodrunkuseyn/>
  247. <exeruseyn/>
  248. <nutritionuseyn/>
  249. <fatuseyn/>
  250. </lifehabitprcp>
  251. <etcjudg>
  252. <etc_judgdd/>
  253. <etc_judgdrid/>
  254. <etc_judgexamcnts/>
  255. </etcjudg>
  256. <totjudg>
  257. <totcmtcnts/>
  258. </totjudg>
  259. </judginfo>
  260. <inqrlst>
  261. <item>
  262. <inqrcd/>
  263. <inqrnm/>
  264. <answcd/>
  265. <answcnts/>
  266. <remcnts/>
  267. <answflag/>
  268. <inptflag/>
  269. <inqrflag/>
  270. </item>
  271. </inqrlst>
  272. </acptinfo>
  273. <tempinfo>
  274. <rslttext>
  275. <rsltcnts/>
  276. <rslt_idx/>
  277. <rslt_col/>
  278. </rslttext>
  279. <anslst>
  280. <anslst>
  281. <item>
  282. <answcd/>
  283. <answcnts/>
  284. <answcnts/>
  285. <reminptyn/>
  286. </item>
  287. </anslst>
  288. </anslst>
  289. <choilst>
  290. <item3>
  291. <sel/>
  292. <rsltcd/>
  293. <rsltnm/>
  294. </item3>
  295. <item4>
  296. <sel/>
  297. <rsltcd/>
  298. <rsltnm/>
  299. </item4>
  300. </choilst>
  301. <answcd/>
  302. <assorsltlst>
  303. <itemasso>
  304. <sel/>
  305. <rsltcd/>
  306. <rsltnm/>
  307. </itemasso>
  308. </assorsltlst>
  309. </tempinfo>
  310. </main>
  311. </root>
  312. </instance>
  313. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  314. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  315. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  316. <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
  317. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  318. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  319. <script type="javascript" src="../../../com/signweb/js/ZES001.js"/>
  320. <script type="javascript" src="../../../ast/healexamweb/js/AHA001.js"/>
  321. <submission id="TXAHR01002" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" replace="instance" resultref="/root/hidden"/>
  322. <submission id="TXAHB02402" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" replace="instance" resultref="/root/temp"/>
  323. <submission id="TRAHR01004" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/acptinfo/judginfo"/>
  324. <submission id="TXAHR02501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" replace="instance" resultref="/root/hidden"/>
  325. <submission id="TXAHR02502" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/change" replace="instance" resultref="/root/hidden"/>
  326. </model>
  327. <script type="javascript">
  328. <![CDATA[
  329. var m_vHealexamflag = "G";
  330. function fViewNum(){
  331. window.parent.javascript.vidx = "1";
  332. }
  333. //ready
  334. function fInitDasplay(){
  335. nodenumber = 0;
  336. model.copyNode("/root", opener.root); //parent
  337. fSetGridInitState(grd_rsltlst); //배경색 변경
  338. btn_fstjudg.selected = true;
  339. model.toggle("case_first");
  340. //1차건진 B판정 상세
  341. if ( window.parent.javascript.fGetEtcInfo("F", "F21") == true ){
  342. model.copyNode("/root/temp/baseinfo",opener.root.temp.baseinfo);//parent
  343. var nd = instance1.selectSingleNode("/root/temp/baseinfo/comcodelst");
  344. if( nd != null ) {
  345. copyNodesetType(chk_bjudgdetl.choices.itemset.attribute("nodeset"), "/root/temp/baseinfo/comcodelst/item", "replace");
  346. }
  347. }
  348. //1차건진C판정 상세
  349. if ( window.parent.javascript.fGetEtcInfo("F", "F22") == true ){
  350. model.copyNode("/root/temp/baseinfo",opener.root.temp.baseinfo);//parent
  351. var nd = instance1.selectSingleNode("/root/temp/baseinfo/comcodelst");
  352. if( nd != null ) {
  353. copyNodesetType(chk_cjudgdetl.choices.itemset.attribute("nodeset"), "/root/temp/baseinfo/comcodelst/item", "replace");
  354. }
  355. }
  356. //1차건진R1판정 상세
  357. if ( window.parent.javascript.fGetEtcInfo("F", "F23") == true ){
  358. model.copyNode("/root/temp/baseinfo",opener.root.temp.baseinfo);//parent
  359. var nd = instance1.selectSingleNode("/root/temp/baseinfo/comcodelst");
  360. if( nd != null ) {
  361. copyNodesetType(chk_r1judgdetl.choices.itemset.attribute("nodeset"), "/root/temp/baseinfo/comcodelst/item", "replace");
  362. }
  363. }
  364. //1차건진R2판정 상세
  365. if ( window.parent.javascript.fGetEtcInfo("F", "F24") == true ){
  366. model.copyNode("/root/temp/baseinfo",opener.root.temp.baseinfo);//parent
  367. var nd = instance1.selectSingleNode("/root/temp/baseinfo/comcodelst");
  368. if( nd != null ) {
  369. copyNodesetType(chk_r2judgdetl.choices.itemset.attribute("nodeset"), "/root/temp/baseinfo/comcodelst/item", "replace");
  370. }
  371. }
  372. //1차건진 기타질환코드내역
  373. if ( window.parent.javascript.fGetEtcInfo("F", "F25") == true ){
  374. model.copyNode("/root/temp/baseinfo",opener.root.temp.baseinfo);//parent
  375. var nd = instance1.selectSingleNode("/root/temp/baseinfo/comcodelst");
  376. if( nd != null ) {
  377. copyNodesetType(cmb_etcsickflag.choices.itemset.attribute("nodeset"), "/root/temp/baseinfo/comcodelst/item", "replace");
  378. }
  379. }
  380. //1차건진 사후관리
  381. if ( window.parent.javascript.fGetEtcInfo("F", "F26") == true ){
  382. model.copyNode("/root/temp/baseinfo",opener.root.temp.baseinfo);//parent
  383. var nd = instance1.selectSingleNode("/root/temp/baseinfo/comcodelst");
  384. if( nd != null ) {
  385. copyNodesetType(cmb_aftmngt.choices.itemset.attribute("nodeset"), "/root/temp/baseinfo/comcodelst/item", "replace");
  386. }
  387. }
  388. /*
  389. //2차판정 당뇨병
  390. if ( window.parent.javascript.fGetEtcInfo("F", "F27") == true ){
  391. model.copyNode("/root/temp/baseinfo",opener.root.temp.baseinfo);//parent
  392. var nd = instance1.selectSingleNode("/root/temp/baseinfo/comcodelst");
  393. if( nd != null ) {
  394. copyNodesetType(rdo_glycosdetl.choices.itemset.attribute("nodeset"), "/root/temp/baseinfo/comcodelst/item", "replace");
  395. }
  396. }
  397. //2차판정 고혈압
  398. if ( window.parent.javascript.fGetEtcInfo("F", "F28") == true ){
  399. model.copyNode("/root/temp/baseinfo",opener.root.temp.baseinfo);//parent
  400. var nd = instance1.selectSingleNode("/root/temp/baseinfo/comcodelst");
  401. if( nd != null ) {
  402. copyNodesetType(rdo_hypetsdetl.choices.itemset.attribute("nodeset"), "/root/temp/baseinfo/comcodelst/item", "replace");
  403. }
  404. }
  405. //2차판정 당뇨병-기왕력자
  406. if ( window.parent.javascript.fGetEtcInfo("F", "F29") == true ){
  407. model.copyNode("/root/temp/baseinfo",opener.root.temp.baseinfo);//parent
  408. var nd = instance1.selectSingleNode("/root/temp/baseinfo/comcodelst");
  409. if( nd != null ) {
  410. copyNodesetType(cmb_glycosanamnesisdetl.choices.itemset.attribute("nodeset"), "/root/temp/baseinfo/comcodelst/item", "replace");
  411. }
  412. }
  413. //2차판정 고혈압-기왕력자
  414. if ( window.parent.javascript.fGetEtcInfo("F", "F30") == true ){
  415. model.copyNode("/root/temp/baseinfo",opener.root.temp.baseinfo);//parent
  416. var nd = instance1.selectSingleNode("/root/temp/baseinfo/comcodelst");
  417. if( nd != null ) {
  418. copyNodesetType(cmb_hypetsanamnesisdetl.choices.itemset.attribute("nodeset"), "/root/temp/baseinfo/comcodelst/item", "replace");
  419. }
  420. }
  421. */
  422. //판정의설정
  423. if(model.getValue("/root/main/acptinfo/judginfo/firstjudg/fst_judgdrid") == ""){
  424. model.setValue("/root/main/acptinfo/judginfo/firstjudg/fst_judgdrid", getUserInfo("userid"));
  425. }
  426. var inqryn = model.getValue("/root/main/acptinfo/judginfo/firstjudg/fst_inqryn");
  427. if(inqryn == ""){
  428. model.setValue("/root/main/acptinfo/judginfo/firstjudg/fst_inqryn", "Y");
  429. }
  430. grd_rsltlst.clearStatus();
  431. gridMergeRow(grd_rsltlst);
  432. model.refresh();
  433. //특정값에 따라 Disabled 여부 결정
  434. fDisabledChk();
  435. }
  436. /*
  437. * 배경색 변경
  438. */
  439. function fSetGridInitState(vGrdObj){
  440. if(vGrdObj == null ) return ;
  441. vGrdObj.rebuildStyle();
  442. vGrdObj.refresh();
  443. var cnt = vGrdObj.rows;
  444. for(var i=1; i<=cnt; i++){
  445. var testrslt = vGrdObj.valueMatrix(i, vGrdObj.colRef("testrsltcnts"));
  446. var low = vGrdObj.valueMatrix(i, vGrdObj.colRef("minval"));
  447. var high = vGrdObj.valueMatrix(i, vGrdObj.colRef("maxval"));
  448. //기준치에 따른 색깔변경
  449. if("H" == vGrdObj.valueMatrix( i , vGrdObj.colRef("judgrsltcnts"))){
  450. vGrdObj.cellStyle("background-color" , i , vGrdObj.colRef("testcd") , i , vGrdObj.colRef("maxval")) = "#FF8888"; //빨 - H
  451. }
  452. if("L" == vGrdObj.valueMatrix( i , vGrdObj.colRef("judgrsltcnts"))){
  453. vGrdObj.cellStyle("background-color" , i , vGrdObj.colRef("testcd") , i , vGrdObj.colRef("maxval")) = "#85B3FF"; //파 - L
  454. }
  455. //결과값이 하한가와 상한가 범위를 벗어난 경우 색으로 구분(녹색:하한가보다 작은 경우, 분홍색:상한가보다 큰 경우)
  456. if(testrslt != ""){
  457. if(!isNaN(testrslt)){
  458. if(high != ""){
  459. if(eval(testrslt) > eval(high)){
  460. vGrdObj.cellStyle("background-color", i, 7) = "#FF8888"; //빨 - H
  461. }
  462. }
  463. if(low != ""){
  464. if(eval(testrslt) < eval(low)){
  465. vGrdObj.cellStyle("background-color", i, 7) = "#85B3FF"; //파 - L
  466. }
  467. }
  468. }
  469. }else{
  470. continue;
  471. }
  472. }
  473. vGrdObj.refresh();
  474. }
  475. //특정값에 따라 Disabled 여부 결정
  476. function fDisabledChk() {
  477. var fst_bjudgdetl = model.getValue("/root/main/acptinfo/judginfo/firstjudg/fst_bjudgdetl");
  478. var bol = isSearchString(fst_bjudgdetl ,"B09");
  479. if (bol == true) {
  480. cmb_etcsickflag.disabled = false;
  481. ipt_fst_etcsickcnts.disabled = false;
  482. } else {
  483. cmb_etcsickflag.disabled = true;
  484. ipt_fst_etcsickcnts.disabled = true;
  485. }
  486. var fst_cjudgdetl = model.getValue("/root/main/acptinfo/judginfo/firstjudg/fst_cjudgdetl");
  487. var bol = isSearchString(fst_cjudgdetl ,"C04");
  488. if (bol == true) {
  489. ipt_fst_etcsickcnts1.disabled = false;
  490. } else {
  491. ipt_fst_etcsickcnts1.disabled = true;
  492. }
  493. var fst_r1judgdetl = model.getValue("/root/main/acptinfo/judginfo/firstjudg/fst_r1judgdetl");
  494. var bol = isSearchString(fst_r1judgdetl ,"D08");
  495. if (bol == true) {
  496. ipt_fst_etcsickcnts2.disabled = false;
  497. } else {
  498. ipt_fst_etcsickcnts2.disabled = true;
  499. }
  500. bool_nosmok.dispatch("xforms-value-changed");
  501. bool_nodrunk.dispatch("xforms-value-changed");
  502. bool_exer.dispatch("xforms-value-changed");
  503. bool_nutrition.dispatch("xforms-value-changed");
  504. bool_fat.dispatch("xforms-value-changed");
  505. }
  506. /* 접수 정보(AST.AHAMACPT) 상태 변경
  507. sStatFlag : 공통코드 #A0107참조 A 예약 B 예약보류 C 예약확인 D 예약취소 E 접수 G 결과 :
  508. sRsltYn : 결과완료여부
  509. */
  510. function fSetAcptState(sStatFlag, sRsltYn){
  511. var idx = opener.grd_acptlst.row;
  512. if(idx < 1){
  513. return false;
  514. }
  515. model.resetInstanceNode("/root/send/change");
  516. model.removenode("/root/send/change");
  517. model.refresh();
  518. var sNode = window.parent.grd_acptlst.nodeset + "[" + idx + "]/";
  519. var rsrvdd = window.parent.model.getValue(sNode + "rsrvdd");
  520. var rsrvno = window.parent.model.getValue(sNode + "rsrvno");
  521. model.makeValue("/root/send/change/changeinfo/healexamflag" , m_vHealexamflag);
  522. model.makeValue("/root/send/change/changeinfo/rsrvdd" , rsrvdd);
  523. model.makeValue("/root/send/change/changeinfo/rsrvno" , rsrvno);
  524. model.makeValue("/root/send/change/changeinfo/statflag" , sStatFlag);
  525. model.makeValue("/root/send/change/changeinfo/rsltyn" , sRsltYn);
  526. if(submit("TXAHR02502")){
  527. messageBox("결과상태 변경이 ", "I001");
  528. opener.javascript.fGetRsltPatList();
  529. // fInitDasplayResult();
  530. }else{
  531. messageBox("결과상태 변경이 ", "E009");
  532. }
  533. }
  534. function fInitSaveData(){
  535. model.resetInstanceNode("/root/send/save");
  536. }
  537. function fInitDasplayResult(){
  538. model.copyNode("/root", opener.root); //parent
  539. model.refresh();
  540. }
  541. /**
  542. * 소견 및 조치내용 가져오기
  543. * 소견및 조치내용은 종합판정문구 관리에서 건진구분 - 일반으로 관리.
  544. * vEditObj : 선택한 판정내용이 입력될 입력컨트롤명
  545. * SPAHR00300_PARAM1: 다중선택여부(Y/N)
  546. * SPAHR00300_PARAM2: 목적노드Set
  547. * SPAHR00300_PARAM3: 종합판정문구코드 목적노드
  548. * SPAHR00300_PARAM4: 종합판정문구내용 목적노드
  549. * SPAHR00300_PARAM5: 종합판정문구검색코드
  550. * SPAHR00300_PARAM6: 종합판정문구검색내용
  551. * SPAHR00300_PARAM7: 건진구분
  552. */
  553. function fGetJudgExmpCnts(vEditObj,jCode){
  554. if( vEditObj == null ) return ;
  555. model.makeNode("/root/temp/judgexaminfo");
  556. setParameter("SPAHR00300_PARAM1", "Y");
  557. setParameter("SPAHR00300_PARAM2", "/root/temp/judgexaminfo");
  558. setParameter("SPAHR00300_PARAM7", fGetHealExamFlag() );
  559. setParameter("SPAHR00300_PARAM8", jCode );
  560. modal("SPAHR00300", 100, 100, "SPAHR00300");
  561. if( model.getValue("/root/temp/SPAHR00300/okflag") != "ok" ) return ;
  562. var vNodeList = instance1.selectNodes("/root/temp/judgexaminfo/list");
  563. if( vNodeList == null ) reutrn ;
  564. var vJudgCnts = model.getValue( vEditObj.attribute("ref") );
  565. var vJudgLongCnts = model.getValue(tar_totjudgexamcnts.attribute("ref"));
  566. for( var i = 0 ; i < vNodeList.length ; i++){
  567. vJudgCnts += vNodeList.item(i).judghangshrtcnts.text;
  568. if(vEditObj.attribute("id") == "tar_judgexamcnts"){
  569. vJudgLongCnts += vNodeList.item(i).judghangcnts.text;
  570. }
  571. }
  572. model.setValue( vEditObj.attribute("ref") , vJudgCnts );
  573. if(vEditObj.attribute("id") == "tar_judgexamcnts"){
  574. model.setValue(tar_totjudgexamcnts.attribute("ref"), vJudgLongCnts);
  575. }
  576. vEditObj.refresh();
  577. if(vEditObj.attribute("id") == "tar_judgexamcnts"){
  578. tar_totjudgexamcnts.refresh();
  579. }
  580. }
  581. function fCheckExamInfo(){
  582. var idx = window.parent.grd_acptlst.row;
  583. if( idx < 1) {
  584. //messageBox("수진자를 ", "C002");
  585. return false;
  586. }
  587. model.copyNode("/root/main/acptinfo/item", window.parent.grd_acptlst.nodeset + "[" + idx + "]");
  588. //결과내역가져오기
  589. var sNode = window.parent.grd_acptlst.nodeset + "[" + idx + "]/";
  590. var rsrvdd = window.parent.model.getValue(sNode + "rsrvdd");
  591. var rsrvno = window.parent.model.getValue(sNode + "rsrvno");
  592. var pid = window.parent.model.getValue(sNode + "pid");
  593. var orddd = window.parent.model.getValue(sNode + "orddd");
  594. var cretno = window.parent.model.getValue(sNode + "cretno");
  595. var pkgcd = window.parent.model.getValue(sNode + "pkgcd");
  596. if( (pid == "" ) || (orddd=="") || (cretno == "") || (rsrvdd == "") || (rsrvno == "") ){
  597. messageBox("유효하지 않은 데이터 입니다!", "E999");
  598. return false;
  599. }
  600. model.setValue("/root/send/srchhealexamflag" , fGetHealExamFlag());
  601. model.setValue("/root/send/srchinstcd" , getUserInfo("dutplceinstcd"));
  602. model.setValue("/root/send/srchrsrvdd" , rsrvdd);
  603. model.setValue("/root/send/srchrsrvno" , rsrvno);
  604. model.setValue("/root/send/srchpid" , pid);
  605. model.setValue("/root/send/srchorddd" , orddd);
  606. model.setValue("/root/send/srchcretno" , cretno);
  607. // model.setValue("/root/send/srchpkgcd" , pkgcd);
  608. }
  609. /**
  610. *건진내역별 상세내역가져오기( 판정내역조회)
  611. *건진구분/건진일자/검사실/환자id/단체코드/패키지코드별 조회
  612. */
  613. function fGetJudgInfo(){
  614. if(fCheckExamInfo() == false) return;
  615. openLoadingBar("판정정보 ");
  616. model.makeValue("root/send/srchhealexamflag", "G");
  617. submit("TRAHR01004");
  618. //특정값에 따라 Disabled 여부 결정
  619. fDisabledChk();
  620. closeLoadingBar();
  621. }
  622. /**===================================================================================
  623. @desc : 공통 저장정보관련 check
  624. *접수정보 : 건진구분/건진상세구분/예약일자/예약번호/등록번호/진료일자
  625. *저장구분 : I=> 문진만, R=>결과만, J1 => 1차판정만 ...
  626. =====================================================================================*/
  627. function fCheckSaveInfo(){
  628. var idx = opener.grd_acptlst.row;
  629. if( idx < 1 ) {
  630. return false;
  631. }
  632. if( m_vHealexamflag == "" ) {
  633. messageBox("업무구분이 존재하지 않습니다.", "E999");
  634. return false;
  635. }
  636. var vAcptNode = opener.grd_acptlst.nodeset + "[" + idx;
  637. model.removenode("/root/send/save");
  638. model.refresh();
  639. var idx = window.parent.grd_acptlst.row;
  640. if( idx < 1) {
  641. //messageBox("수진자를 ", "C002");
  642. return false;
  643. }
  644. //결과내역가져오기
  645. var sNode = window.parent.grd_acptlst.nodeset + "[" + idx + "]/";
  646. var rsrvdd = window.parent.model.getValue(sNode + "rsrvdd");
  647. var rsrvno = window.parent.model.getValue(sNode + "rsrvno");
  648. var pid = window.parent.model.getValue(sNode + "pid");
  649. var orddd = window.parent.model.getValue(sNode + "orddd");
  650. var cretno = window.parent.model.getValue(sNode + "cretno");
  651. var pkgcd = window.parent.model.getValue(sNode + "pkgcd");
  652. model.makeValue("/root/send/save/saveinfo/healexamflag" , m_vHealexamflag );
  653. model.makeValue("/root/send/save/saveinfo/healexamdetlflag" , fGetHealExamFlag() );
  654. model.makeValue("/root/send/save/saveinfo/rsrvdd" , rsrvdd );
  655. model.makeValue("/root/send/save/saveinfo/rsrvno" , rsrvno );
  656. model.makeValue("/root/send/save/saveinfo/pid" , pid );
  657. model.makeValue("/root/send/save/saveinfo/orddd" , orddd );
  658. model.makeValue("/root/send/save/saveinfo/cretno" , cretno );
  659. model.makeValue("/root/send/save/saveinfo/pkgcd" , pkgcd );
  660. model.makeValue("/root/send/save/saveinfo/sex" , model.getValue("/root/main/acptinfo/item/sex"));
  661. model.makeValue("/root/send/save/saveinfo/age" , model.getValue("root/main/acptinfo/item/age"));
  662. model.makeValue("/root/send/save/saveinfo/judgdrid" , model.getValue("/root/main/acptinfo/judginfo/firstjudg/fst_judgdrid"));
  663. model.makeValue("/root/send/save/saveinfo/inqrdrid" , model.getValue("/root/main/acptinfo/judginfo/firstjudg/fst_inqrdrid"));
  664. // model.setValue("/root/send/save/judgdd" , model.getValue(ipt_judgdd.attribute("ref"));
  665. return true ;
  666. }
  667. /*===================================================================================
  668. ** 판정입력구분
  669. *1 - 1차 + 구강
  670. *2 - 2차
  671. *S - 특수건진
  672. *B - 혈액정밀
  673. *C - 암건진
  674. ===================================================================================*/
  675. function fGetJudgInptFlag() {
  676. var judg_idx = swt_judg.selectedIndex ;
  677. var ret = "1" ;
  678. switch ( judg_idx ) {
  679. case 0:
  680. ret = "1" ;
  681. break;
  682. case 1:
  683. ret = "2" ;
  684. break;
  685. case 2:
  686. ret = "1" ;
  687. break;
  688. case 3:
  689. ret = "S" ;
  690. break;
  691. case 4:
  692. ret = "B" ;
  693. break;
  694. case 5:
  695. ret = "C" ;
  696. break;
  697. default:
  698. ret = "1" ;
  699. break;
  700. }
  701. return ret;
  702. }
  703. /**===================================================================================
  704. @desc : 판정입력
  705. *접수정보 : 건진구분/건진상세구분/예약일자/예약번호/등록번호/진료일자
  706. *판정내역 :
  707. @param :bCheckSave => true이면 저장기본정보 check.
  708. 전체저장시는 저장기본정보를 check할 필요가 없으므로...pass하도록...하기위해.
  709. =====================================================================================*/
  710. function fSaveJudg(bCheckSave){
  711. var ret = false;
  712. if(bCheckSave == true){
  713. if( !fCheckSaveInfo()) return ret;
  714. }
  715. //판정입력구분(1-1차 + 구강 /2- 2차 /L- 생활습관처방전(생애2차)/O- 구강만 /S- 특수건진 /B- 혈액정밀 / C- 암건진 )
  716. model.makeNode("/root/send/save/judginptflag");
  717. //??? 의미를 모르겠음...
  718. //var judgflag = fGetJudgInptFlag();
  719. var judgflag = "";
  720. var signedData = "";
  721. if(case_first.selected == true){
  722. judgflag = "1";
  723. }else if (case_second.selected == true){
  724. judgflag = "2";
  725. }else if (case_lifejudg.selected == true){
  726. judgflag = "L2";
  727. }else if(case_lifehabit.selected == true){
  728. judgflag = "L";
  729. }else if(case_etc.selected == true){
  730. judgflag = "E";
  731. }else if(case_tot.selected == true){
  732. judgflag = "T";
  733. }
  734. model.setValue("/root/send/save/judginptflag" ,judgflag );
  735. //1차 + 구강
  736. if( judgflag == "1" ){
  737. var judgcd_A = model.getValue("/root/main/acptinfo/judginfo/firstjudg/fst_ajudgcd");
  738. var judgcd_B = model.getValue("/root/main/acptinfo/judginfo/firstjudg/fst_bjudgcd");
  739. var judgcd_C = model.getValue("/root/main/acptinfo/judginfo/firstjudg/fst_cjudgcd");
  740. var judgcd_R1 = model.getValue("/root/main/acptinfo/judginfo/firstjudg/fst_r1judgcd");
  741. var judgcd_R2 = model.getValue("/root/main/acptinfo/judginfo/firstjudg/fst_r2judgcd");
  742. var fst_barojochicnts = model.getValue("/root/main/acptinfo/judginfo/firstjudg/fst_barojochicnts");
  743. if(fst_barojochicnts.length>250){
  744. messageBox("바로조치는 250자까지 입력가능합니다", "E");
  745. model.setFocus("txt_barojochicnts");
  746. return ret;
  747. }
  748. var fst_judgexamcnts = model.getValue("/root/main/acptinfo/judginfo/firstjudg/fst_judgexamcnts");
  749. if(fst_judgexamcnts.length>300){
  750. messageBox("적극적 관리는 300자까지 입력가능합니다", "E");
  751. model.setFocus("tar_judgexamcnts");
  752. return ret;
  753. }
  754. if(judgcd_A == "N" && judgcd_B == "N" && judgcd_C == "N" && judgcd_R1 == "N" && judgcd_R2 == "N"){
  755. messageBox("판정을 ", "C001");
  756. return ret;
  757. }
  758. if (model.getValue(cmb_fstjudgdrid.attribute("ref") ) == "" ) {
  759. messageBox("판정의를 ", "C001");
  760. return ret;
  761. }
  762. if (model.getValue(cmb_fstinqrdrid.attribute("ref") ) == "" ) {
  763. messageBox("문진의를 ", "C001");
  764. return ret;
  765. }
  766. // 판정이 다중으로 선택하게 변경하면서 정상일경우 A 아닐경우에는 B을 저장하게 변경
  767. // 다중 선택된 판정은 Detail 테이블에 저장 된다.
  768. if(fGetActiveStat(bol_judgcda.value)) {
  769. model.setValue("/root/main/acptinfo/judginfo/firstjudg/fst_judgcd" , "A");
  770. }else {
  771. model.setValue("/root/main/acptinfo/judginfo/firstjudg/fst_judgcd" , "B");
  772. }
  773. model.makeNode("/root/send/save/savejudg1");
  774. model.resetInstanceNode("/root/send/save/savejudg1");
  775. model.copyNode("/root/send/save/savejudg1", "/root/main/acptinfo/judginfo/firstjudg");
  776. model.makeNode("/root/send/save/savejudgoral");
  777. model.resetInstanceNode("/root/send/save/savejudgoral");
  778. model.copyNode("/root/send/save/savejudgoral", "/root/main/acptinfo/judginfo/oraljudg");
  779. // 직업병 D1 질환코드
  780. model.makeNode("/root/send/save/savejudg2/fst_saved1sickcd");
  781. model.resetInstanceNode("/root/send/savejudg2/fst_saved1sickcd");
  782. model.setValue("/root/send/save/savejudg2/fst_saved1sickcd" , grd_d1sicklst.getUpdateDataAll("i"));
  783. // 직업병 D2 질환코드
  784. model.makeNode("/root/send/save/savejudg2/fst_saved2sickcd");
  785. model.resetInstanceNode("/root/send/savejudg2/fst_saved2sickcd");
  786. model.setValue("/root/send/save/savejudg2/fst_saved2sickcd" , grd_d2sicklst.getUpdateDataAll("i"));
  787. var fst_judg = getNodeListCSV(instance1.selectNodes("/root/main/acptinfo/judginfo/firstjudg"));
  788. var oral_judg = getNodeListCSV(instance1.selectNodes("/root/main/acptinfo/judginfo/oraljudg"));
  789. var fst_sick = getNodeListCSV(instance1.selectNodes("/root/main/acptinfo/judginfo/firstd1sicklst"));
  790. var scnd_sick = getNodeListCSV(instance1.selectNodes("/root/main/acptinfo/judginfo/firstd2sicklst"));
  791. // 인증저장만 콜한다. 인증데이터 저장은 하지 않음
  792. /************************************************************************************************************
  793. 2010.04.27. 여의도 성모병원 산업의학센터 정은덕 선생님 요청으로 인증저장 주석처리함.
  794. *************************************************************************************************************/
  795. //signedData = zesfSignData( fst_judg + "^" + oral_judg + "^" + fst_sick + "^" + scnd_sick , getUserId(), true );
  796. // 2차 /생활판정
  797. }else if( judgflag == "2" || judgflag == "L2"){
  798. if(judgflag == "2"){
  799. if( model.getValue( cmb_scndjudgdrid.attribute("ref") ) == ""){
  800. messageBox("판정의를 ", "C001");
  801. return ret;
  802. }
  803. }
  804. model.makeNode("/root/send/save/savejudg2");
  805. model.resetInstanceNode("/root/send/save/savejudg2");
  806. model.copyNode("/root/send/save/savejudg2", "/root/main/acptinfo/judginfo/secondjudg");
  807. var scnd_judg = getNodeListCSV(instance1.selectNodes("/root/main/acptinfo/judginfo/secondjudg"));
  808. if(judgflag == "2"){
  809. // 인증저장만 콜한다. 인증데이터 저장은 하지 않음
  810. /************************************************************************************************************
  811. 2010.04.27. 여의도 성모병원 산업의학센터 정은덕 선생님 요청으로 인증저장 주석처리함.
  812. *************************************************************************************************************/
  813. //signedData = zesfSignData( scnd_judg , getUserId(), true );
  814. }
  815. } else if( judgflag == "L") {
  816. model.makeNode("/root/send/save/savelifehabit");
  817. model.resetInstanceNode("/root/send/save/savelifehabit");
  818. model.copyNode("/root/send/save/savelifehabit", "/root/main/acptinfo/judginfo/lifehabitprcp");
  819. var judgCd = model.getValue("/root/main/acptinfo/judginfo/secondjudg/sec_judgcd");
  820. if(judgCd != ""){
  821. model.makeValue("/root/send/save/savelifehabit/judgcd" , judgCd);
  822. }else{
  823. model.makeValue("/root/send/save/savelifehabit/judgcd" , "A");
  824. }
  825. var lifeHabit = getNodeListCSV(instance1.selectNodes("/root/main/acptinfo/judginfo/lifehabitprcp"));
  826. }else if(judgflag == "E") {
  827. var nodeList = instance1.selectNodes("/root/init/judginfo/etcjudgpkglst/G103[cdid='" + model.getValue("/root/main/acptinfo/item/pkgcd") + "']");
  828. if( !(nodeList.length > 0) ) {
  829. messageBox("기타판정 등록패키지인지 ", "I007");
  830. return ;
  831. }
  832. if( model.getValue("/root/main/acptinfo/judginfo/etcjudg/etc_judgdrid") == "" ) {
  833. messageBox("판정의를 ", "C001");
  834. return ;
  835. }
  836. model.makeNode("/root/send/save/saveetcjudg");
  837. model.resetInstanceNode("/root/send/save/saveetcjudg");
  838. model.copyNode("/root/send/save/saveetcjudg", "/root/main/acptinfo/judginfo/etcjudg");
  839. model.makeValue("/root/send/save/saveetcjudg/etc_judgcd" , "A");
  840. var etcJudg = getNodeListCSV(instance1.selectNodes("/root/main/acptinfo/judginfo/etcjudg"));
  841. // 인증저장만 콜한다. 인증데이터 저장은 하지 않음
  842. /************************************************************************************************************
  843. 2010.04.27. 여의도 성모병원 산업의학센터 정은덕 선생님 요청으로 인증저장 주석처리함.
  844. *************************************************************************************************************/
  845. //signedData = zesfSignData( etcJudg , getUserId(), true );
  846. }else if(judgflag == "T"){
  847. model.makeNode("/root/send/save/savetotjudg");
  848. model.resetInstanceNode("/root/send/save/savetotjudg");
  849. model.copyNode("/root/send/save/savetotjudg", "/root/main/acptinfo/judginfo/totjudg");
  850. model.makeValue("/root/send/save/savetotjudg/tot_judgcd" , "A");
  851. var totJudg = getNodeListCSV(instance1.selectNodes("/root/main/acptinfo/judginfo/totjudg"));
  852. //signedData = zesfSignData( totJudg , getUserId(), true );
  853. }
  854. //if((signedData == null || signedData == "") && (judgflag == "1" || judgflag == "2" || judgflag == "E")) return;
  855. openLoadingBar("판정 저장 중입니다 ");
  856. // ret = submit("TXAHR01002");
  857. ret = submit("TXAHR02501");
  858. closeLoadingBar();
  859. if(ret == true){
  860. messageBox("판정저장", "I002");
  861. fGetJudgInfo(); //정상적 저장 시 판정내역 재 조회
  862. // opener.javascript.fGetRsltPatList();
  863. }else{
  864. messageBox("판정저장", "E009");
  865. }
  866. return ret;
  867. }
  868. /**===================================================================================
  869. @desc : 공통 저장정보관련 초기화
  870. =====================================================================================*/
  871. function fInitSaveData(){
  872. model.resetInstanceNode("/root/send/save");
  873. }
  874. function fdataValue(vTestcd,vSubcd){
  875. var nodeCount = getNodesetCount("/root/main/acptinfo/rsltlst/itemexmp");
  876. for (var i=0; i<=nodeCount;i++){
  877. // if ((model.getValue("/root/main/tempinfo/assorsltlst/itemasso["+i +"]/testcd")==vTestcd) && (model.getValue("/root/main/tempinfo/assorsltlst/itemasso["+i +"]/rsltcd")==vSubcd)){
  878. if ((model.getValue("/root/main/acptinfo/rsltlst/itemexmp["+i +"]/testcd")==vTestcd) && (model.getValue("/root/main/acptinfo/rsltlst/itemexmp["+i +"]/rsltcd")==vSubcd)){
  879. nodenumber = i;
  880. return model.getValue("/root/main/acptinfo/rsltlst/itemexmp["+i+"]/rsltnm");
  881. }
  882. }
  883. }
  884. function fdataValueAsso(vTestcd,vSubcd){
  885. /*
  886. var nodeCount = getNodesetCount("/root/main/tempinfo/assorsltlst/itemasso");
  887. for (var i=0; i<nodeCount;i++){
  888. if ((model.getValue("/root/main/tempinfo/assorsltlst/itemasso["+i +"]/testcd")==vTestcd) && (model.getValue("/root/main/tempinfo/assorsltlst/itemasso["+i +"]/rsltcd")==vSubcd)){
  889. nodenumber = i;
  890. return model.getValue("/root/main/tempinfo/assorsltlst/itemasso["+i+"]/rsltnm");
  891. }
  892. }
  893. */
  894. var nodeCount = getNodesetCount("/root/main/acptinfo/rsltlst/itemassoexmp");
  895. for (var i=0; i<nodeCount;i++){
  896. if ((model.getValue("/root/main/acptinfo/rsltlst/itemassoexmp["+i +"]/testcd")==vTestcd) && (model.getValue("/root/main/acptinfo/rsltlst/itemassoexmp["+i +"]/rsltcd")==vSubcd)){
  897. nodenumber = i;
  898. return model.getValue("/root/main/acptinfo/rsltlst/itemassoexmp["+i+"]/rsltnm");
  899. }
  900. }
  901. }
  902. /**
  903. ** 결과입력 grid size 늘이기/줄이기
  904. */
  905. function fSetRsltSwtSize( bLarge ){
  906. //기존상태 높이
  907. var cur_height = 214;
  908. var max_height = 558 ;
  909. if( bLarge == true ){
  910. cur_height = max_height ;
  911. btn_large.visible = false;
  912. btn_small.visible = true;
  913. }
  914. else {
  915. btn_large.visible = true;
  916. btn_small.visible = false;
  917. }
  918. grd_rsltlst.attribute("height") = parseInt( cur_height ) ;
  919. }
  920. function fGetActiveStat(vFlag){
  921. var activeStat = false;
  922. if(vFlag == "" || vFlag == null) vFlag = "Y";
  923. if(vFlag == "Y"){
  924. activeStat = true;
  925. }else if(vFlag == "N"){
  926. activeStat = false;
  927. }
  928. return activeStat;
  929. }
  930. ]]>
  931. </script>
  932. </xhtml:head>
  933. <xhtml:body>
  934. <group id="grp_rslt2" visibility="hidden" style="left:470px; top:55px; width:295px; height:245px; ">
  935. <caption id="caption1" class="tit_2" style="left:5px; top:5px; width:108px; height:14px; ">선택형결과입력</caption>
  936. <datagrid id="datagrid1" nodeset="/root/main/tempinfo/choilst/item4" allowselection="false" caption="V^코드^결과내용" colsep="^" colwidth="24, 35, 200" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" selectionmode="byrow" style="left:5px; top:23px; width:285px; height:215px; ">
  937. <col checkvalue="Y,N" ref="sel" type="checkbox" visibility="hidden"/>
  938. <col ref="rsltcd" visibility="visible"/>
  939. <col ref="rsltnm"/>
  940. </datagrid>
  941. <line id="line1" class="line_1" style="x1:5px; y1:20px; x2:290px; y2:20px; "/>
  942. <button id="button1" class="icon_plus" style="left:275px; top:4px; width:13px; height:15px; ">
  943. <caption/>
  944. <script type="javascript" ev:event="DOMActivate">
  945. <![CDATA[
  946. //fAddRsltChoi();
  947. grp_rslt2.visible = false;
  948. ]]>
  949. </script>
  950. </button>
  951. </group>
  952. <group id="grp_textrslt" visibility="hidden" style="left:460px; top:50px; width:295px; height:300px; ">
  953. <caption id="caption58" class="tit_2" style="left:5px; top:10px; width:108px; height:13px; ">서술형결과입력</caption>
  954. <line id="line37" class="line_1" style="x1:5px; y1:25px; x2:290px; y2:25px; "/>
  955. <button id="btn_textclose" class="icon_plus" style="left:275px; top:4px; width:13px; height:15px; ">
  956. <caption/>
  957. <script type="javascript" ev:event="DOMActivate">
  958. <![CDATA[
  959. if( model.getValue("/root/main/tempinfo/rslttext/rslt_col") == window.parent.javaScript.col_rslt ) {
  960. model.setValue("/root/main/acptinfo/rsltlst/item["+ model.getValue("/root/main/tempinfo/rslttext/rslt_idx") +"]/testrsltcnts", tar_textrslt.currentText );
  961. }
  962. grp_textrslt.visible = false;
  963. ]]>
  964. </script>
  965. </button>
  966. <textarea id="tar_textrslt" ref="/root/main/tempinfo/rslttext/rsltcnts" style="left:5px; top:30px; width:285px; height:265px; "/>
  967. <script type="javascript" ev:event="DOMFocusOut">
  968. <![CDATA[
  969. // grp_textrslt.visible = false;
  970. ]]>
  971. </script>
  972. <output id="opt_rsltidx" ref="/root/main/tempinfo/rslttext/rslt_idx" class="output_fix" visibility="hidden" style="left:130px; top:5px; width:36px; height:19px; "/>
  973. <output id="opt_rsltcol" ref="/root/main/tempinfo/rslttext/rslt_col" class="output_fix" visibility="hidden" style="left:175px; top:5px; width:36px; height:19px; "/>
  974. <button id="btn_rsltclose" class="btn2_letter2" style="left:246px; top:4px; width:42px; height:19px; ">
  975. <caption>취소</caption>
  976. <script type="javascript" ev:event="DOMActivate">
  977. <![CDATA[
  978. grp_textrslt.visible = false;
  979. ]]>
  980. </script>
  981. </button>
  982. <button id="btn_rsltsave" class="btn2_letter2" style="left:201px; top:4px; width:42px; height:19px; ">
  983. <caption>저장</caption>
  984. <script type="javascript" ev:event="DOMActivate">
  985. <![CDATA[
  986. if( model.getValue("/root/main/tempinfo/rslttext/rslt_col") == window.parent.javascript.col_rslt ) {
  987. var idx = model.getValue("/root/main/tempinfo/rslttext/rslt_idx");
  988. if( idx < 0) return ;
  989. model.setValue("/root/main/acptinfo/rsltlst/item["+ idx +"]/testrsltcnts", tar_textrslt.currentText );
  990. if( grd_rsltlst.rowStatus(idx) == 0 ) {
  991. grd_rsltlst.rowStatus(idx) = 2;
  992. }
  993. }
  994. grp_textrslt.visible = false;
  995. ]]>
  996. </script>
  997. </button>
  998. </group>
  999. <group id="grp_choi" visibility="hidden" style="left:25px; top:80px; width:295px; height:245px; ">
  1000. <caption id="caption55" class="tit_2" style="left:5px; top:5px; width:108px; height:14px; ">선택형결과입력</caption>
  1001. <datagrid id="grd_choilst" nodeset="/root/main/tempinfo/choilst/item3" allowselection="false" caption="V^코드^결과내용" colsep="^" colwidth="24, 14, 207" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" selectionmode="byrow" style="left:5px; top:23px; width:285px; height:215px; ">
  1002. <col checkvalue="Y,N" ref="sel" type="checkbox"/>
  1003. <col ref="rsltcd" visibility="visible"/>
  1004. <col ref="rsltnm"/>
  1005. </datagrid>
  1006. <line id="line35" class="line_1" style="x1:5px; y1:20px; x2:290px; y2:20px; "/>
  1007. <button id="btn_choiclose" class="icon_plus" style="left:275px; top:4px; width:13px; height:15px; ">
  1008. <caption/>
  1009. <script type="javascript" ev:event="DOMActivate">
  1010. <![CDATA[
  1011. //fAddRsltChoi();
  1012. grp_choi.visible = false;
  1013. ]]>
  1014. </script>
  1015. </button>
  1016. </group>
  1017. <switch id="swt_judg" style="left:5px; top:240px; width:764px; height:323px; border-color:#c7a3cf; border-style:solid; ">
  1018. <case id="case_first" scroll="none" selected="true">
  1019. <caption id="caption19" class="cell_1" visibility="hidden" style="left:383px; top:348px; width:30px; height:23px; text-align:left; vertical-align:middle; "/>
  1020. <caption id="caption9" class="cell_1" visibility="hidden" style="left:5px; top:397px; width:125px; height:23px; text-align:center; vertical-align:middle; ">사후조치(C,D1, D2)</caption>
  1021. <caption id="caption18" class="cell_1" visibility="hidden" style="left:413px; top:348px; width:100px; height:23px; text-align:left; vertical-align:middle; ">일반질병 D2</caption>
  1022. <textarea id="txt_barojochicnts" ref="/root/main/acptinfo/judginfo/firstjudg/fst_barojochicnts" visibility="hidden" imemode="hangul" maxlength="250" appearance="textarea" style="left:118px; top:425px; width:267px; height:55px; "/>
  1023. <line id="line81" class="line_2" visibility="hidden" style="x1:5px; y1:395px; x2:755px; y2:395px; "/>
  1024. <caption id="caption8" class="cell_1" visibility="hidden" style="left:30px; top:348px; width:100px; height:23px; text-align:left; vertical-align:middle; ">직업병 D1</caption>
  1025. <datagrid id="grd_d1sicklst" nodeset="/root/main/acptinfo/judginfo/firstd1sicklst" visibility="hidden" caption="judgcd^질환코드^질환명" colsep="^" colwidth="55, 57, 162" mergecellsfixedrows="bycolrec" rowsep="|" style="left:132px; top:349px; width:240px; height:46px; ">
  1026. <col ref="judgdetlcd" visibility="hidden"/>
  1027. <col ref="sickcd" type="output"/>
  1028. <col ref="sicknm"/>
  1029. </datagrid>
  1030. <line id="line80" class="line_2" visibility="hidden" style="x1:5px; y1:421px; x2:755px; y2:421px; "/>
  1031. <caption id="caption16" class="cell_1" visibility="hidden" style="left:5px; top:348px; width:30px; height:23px; text-align:left; vertical-align:middle; "/>
  1032. <caption id="caption26" class="cell_1" visibility="hidden" style="left:5px; top:425px; width:113px; height:57px; text-align:left; vertical-align:middle; ">
  1033. <![CDATA[ 바로조치
  1034. (의심질환)]]>
  1035. </caption>
  1036. <select1 id="cmb_aftmngt" ref="/root/main/acptinfo/judginfo/firstjudg/fst_aftmngt" class="combo" visibility="hidden" appearance="minimal" style="left:132px; top:400px; width:240px; height:19px; ">
  1037. <choices>
  1038. <itemset nodeset="/root/init/judginfo/aftmngtcdlst/item">
  1039. <label ref="nm"/>
  1040. <value ref="cd"/>
  1041. </itemset>
  1042. </choices>
  1043. </select1>
  1044. <button id="button8" class="btn2_letter2" visibility="hidden" style="left:70px; top:444px; width:42px; height:19px; ">
  1045. <caption>선택</caption>
  1046. <script type="javascript" ev:event="DOMActivate">
  1047. <![CDATA[
  1048. //fGetRsltExmpCnts();
  1049. model.makeNode("/root/temp/judgexaminfo");
  1050. setParameter("SPAHR00410_PARAM1", "Y");
  1051. setParameter("SPAHR00410_PARAM2", "/root/temp/judgexaminfo");
  1052. setParameter("SPAHR00410_PARAM7", fGetHealExamFlag() );
  1053. setParameter("SPAHR00400_PARAM8", "G01"); // 일반건진
  1054. modal("SPAHR00410", 100, 100, "SPAHR00410");
  1055. if( model.getValue("/root/temp/okflag") != "ok" ) return ;
  1056. var vNodeList = instance1.selectNodes("/root/temp/judgexaminfo/list");
  1057. if( vNodeList == null ) reutrn ;
  1058. var vJudgCnts = model.getValue( txt_barojochicnts.attribute("ref") );
  1059. for( var i = 0 ; i < vNodeList.length ; i++){
  1060. if(vJudgCnts == ""){
  1061. vJudgCnts = vNodeList.item(i).judghangcnts.text;
  1062. }else{
  1063. vJudgCnts = vJudgCnts + "\n" + vNodeList.item(i).judghangcnts.text;
  1064. }
  1065. }
  1066. model.makeValue( txt_barojochicnts.attribute("ref") , vJudgCnts );
  1067. txt_barojochicnts.refresh();
  1068. ]]>
  1069. </script>
  1070. <!--script type="javascript" ev:event="DOMActivate">
  1071. <![CDATA[
  1072. fGetJudgExmpCnts(tar_judgexamcnts,"G0111");
  1073. ]]>
  1074. </script-->
  1075. </button>
  1076. <caption id="caption10" class="cell_1" visibility="hidden" style="left:385px; top:425px; width:85px; height:57px; text-align:center; vertical-align:middle; ">적극적관리</caption>
  1077. <textarea id="tar_judgexamcnts" ref="/root/main/acptinfo/judginfo/firstjudg/fst_judgexamcnts" class="input_search" visibility="hidden" imemode="hangul" maxlength="300" appearance="textarea" style="left:470px; top:425px; width:288px; height:55px; "/>
  1078. <line id="line11" class="line_2" visibility="hidden" style="x1:5px; y1:345px; x2:755px; y2:345px; "/>
  1079. <button id="btn_sickd1" class="btn2_letter4" visibility="hidden" style="left:37px; top:371px; width:64px; height:19px; ">
  1080. <caption>질환코드</caption>
  1081. <script type="javascript" ev:event="DOMActivate">
  1082. <![CDATA[
  1083. ahafGetSickCd("SMAHR02500", "", "", 1 , grd_d1sicklst.nodeset, "D1" );
  1084. grd_d1sicklst.rebuild();
  1085. if( model.getValue( "/root/temp/okflag") == "Y" ){
  1086. for( var i = 1; i < grd_d1sicklst.rows; i++){
  1087. grd_d1sicklst.addStatus(i, "insert");
  1088. grd_d1sicklst.valueMatrix( i, grd_d1sicklst.colRef("judgdetlcd")) = "D1";
  1089. }
  1090. }
  1091. grd_d1sicklst.rebuild();
  1092. model.refresh();
  1093. ]]>
  1094. </script>
  1095. </button>
  1096. <caption id="caption63" class="cell_1" visibility="hidden" style="left:383px; top:371px; width:130px; height:23px; text-align:left; vertical-align:middle; "/>
  1097. <caption id="caption62" class="cell_1" visibility="hidden" style="left:5px; top:371px; width:125px; height:23px; text-align:left; vertical-align:middle; "/>
  1098. <button id="button3" class="btn2_letter4" visibility="hidden" style="left:418px; top:371px; width:64px; height:19px; ">
  1099. <caption>질환코드</caption>
  1100. <script type="javascript" ev:event="DOMActivate">
  1101. <![CDATA[
  1102. ahafGetSickCd("SMAHR02500", "", "", 1 , grd_d2sicklst.nodeset , "D2");
  1103. grd_d2sicklst.rebuild();
  1104. if( model.getValue( "/root/temp/okflag") == "Y" ){
  1105. for( var i = 1; i < grd_d2sicklst.rows; i++){
  1106. grd_d2sicklst.addStatus(i, "insert");
  1107. grd_d2sicklst.valueMatrix( i, grd_d2sicklst.colRef("judgdetlcd")) = "D2";
  1108. }
  1109. }
  1110. grd_d2sicklst.rebuild();
  1111. model.refresh();
  1112. ]]>
  1113. </script>
  1114. </button>
  1115. <datagrid id="grd_d2sicklst" nodeset="/root/main/acptinfo/judginfo/firstd2sicklst" visibility="hidden" caption="judgcd^질환코드^질환명" colsep="^" colwidth="55, 57, 162" mergecellsfixedrows="bycolrec" rowsep="|" style="left:515px; top:349px; width:240px; height:46px; ">
  1116. <col ref="judgdetlcd" visibility="hidden"/>
  1117. <col ref="sickcd" type="output"/>
  1118. <col ref="sicknm"/>
  1119. </datagrid>
  1120. <bool id="bol_d2sickyn" visibility="hidden" checkvalue="Y,N" ref="/root/main/acptinfo/judginfo/firstjudg/fst_d2sickyn" style="left:393px; top:351px; width:15px; height:15px; border-style:none; "/>
  1121. <button id="btn_firstjudg" class="btn2_letter2" visibility="hidden" style="left:408px; top:460px; width:42px; height:19px; ">
  1122. <caption>선택</caption>
  1123. <script type="javascript" ev:event="DOMActivate">
  1124. <![CDATA[
  1125. //fGetRsltExmpCnts();
  1126. model.makeNode("/root/temp/judgexaminfo");
  1127. setParameter("SPAHR00410_PARAM1", "Y");
  1128. setParameter("SPAHR00410_PARAM2", "/root/temp/judgexaminfo");
  1129. setParameter("SPAHR00410_PARAM7", fGetHealExamFlag() );
  1130. setParameter("SPAHR00400_PARAM8", "G01"); // 일반건진
  1131. modal("SPAHR00410", 100, 100, "SPAHR00410");
  1132. if( model.getValue("/root/temp/okflag") != "ok" ) return ;
  1133. var vNodeList = instance1.selectNodes("/root/temp/judgexaminfo/list");
  1134. if( vNodeList == null ) reutrn ;
  1135. var vJudgCnts = model.getValue( tar_judgexamcnts.attribute("ref") );
  1136. for( var i = 0 ; i < vNodeList.length ; i++){
  1137. if(vJudgCnts == ""){
  1138. vJudgCnts = vNodeList.item(i).judghangcnts.text;
  1139. }else{
  1140. vJudgCnts = vJudgCnts + "\n" + vNodeList.item(i).judghangcnts.text;
  1141. }
  1142. }
  1143. model.setValue( tar_judgexamcnts.attribute("ref") , vJudgCnts );
  1144. tar_judgexamcnts.refresh();
  1145. ]]>
  1146. </script>
  1147. <!--script type="javascript" ev:event="DOMActivate">
  1148. <![CDATA[
  1149. fGetJudgExmpCnts(tar_judgexamcnts,"G0111");
  1150. ]]>
  1151. </script-->
  1152. </button>
  1153. <bool id="bol_d1sickyn" visibility="hidden" checkvalue="Y,N" ref="/root/main/acptinfo/judginfo/firstjudg/fst_d1sickyn" style="left:12px; top:351px; width:15px; height:15px; border-style:none; "/>
  1154. <line id="line7" class="line_2" style="x1:5px; y1:30px; x2:755px; y2:30px; "/>
  1155. <caption id="caption24" class="cell_1" style="left:132px; top:7px; width:60px; height:23px; text-align:center; vertical-align:middle; ">문진유무</caption>
  1156. <line id="line5" class="line_1" style="x1:5px; y1:2px; x2:755px; y2:2px; "/>
  1157. <select1 id="rdo_cmpyflag" ref="/root/main/acptinfo/judginfo/firstjudg/fst_inqryn" appearance="full" cellspacing="5" cols="2" rows="1" overflow="visible" style="left:193px; top:10px; width:70px; height:20px; border-style:none; ">
  1158. <choices>
  1159. <item>
  1160. <label>유</label>
  1161. <value>Y</value>
  1162. </item>
  1163. <item>
  1164. <label>무</label>
  1165. <value>N</value>
  1166. </item>
  1167. </choices>
  1168. </select1>
  1169. <input id="ipt_judgdd" ref="/root/main/acptinfo/judginfo/firstjudg/fst_judgdd" class="input_essential" disabled="false" inputtype="date" style="left:332px; top:9px; width:90px; height:19px; "/>
  1170. <select1 id="cmb_fstjudgdrid" ref="/root/main/acptinfo/judginfo/firstjudg/fst_judgdrid" class="combo" appearance="minimal" style="left:487px; top:9px; width:90px; height:19px; ">
  1171. <choices>
  1172. <itemset nodeset="/root/init/baseinfo/drlst/itemdr">
  1173. <label ref="drnm"/>
  1174. <value ref="drid"/>
  1175. </itemset>
  1176. </choices>
  1177. </select1>
  1178. <caption id="caption22" class="cell_1" style="left:425px; top:7px; width:60px; height:23px; text-align:center; vertical-align:middle; ">판정의</caption>
  1179. <caption id="caption17" class="cell_1" style="left:270px; top:7px; width:60px; height:23px; text-align:center; vertical-align:middle; ">판정일자</caption>
  1180. <caption id="caption3" class="cell_1" style="left:30px; top:7px; width:100px; height:23px; text-align:left; vertical-align:middle; ">정상 A</caption>
  1181. <caption id="caption4" class="cell_1" style="left:30px; top:32px; width:100px; height:48px; text-align:left; vertical-align:middle; ">정상 B</caption>
  1182. <line id="line9" class="line_2" style="x1:5px; y1:30px; x2:755px; y2:30px; "/>
  1183. <select id="chk_bjudgdetl" ref="/root/main/acptinfo/judginfo/firstjudg/fst_bjudgdetl" overflow="visible" appearance="full" cellspacing="5" cols="6" vcellspacing="5" style="left:132px; top:35px; width:611px; height:45px; border-style:none; ">
  1184. <choices>
  1185. <itemset nodeset="/root/init/judginfo/Bjudglst/item">
  1186. <label ref="nm"/>
  1187. <value ref="cd"/>
  1188. </itemset>
  1189. </choices>
  1190. <script type="javascript" ev:event="xforms-value-changed">
  1191. <![CDATA[
  1192. var checkList = chk_bjudgdetl.value;
  1193. if(checkList.length > 1){
  1194. model.setValue(bol_judgcdb.attribute("ref"), "Y");
  1195. model.setValue(bol_judgcda.attribute("ref"), "N");
  1196. }else{
  1197. model.setValue(bol_judgcdb.attribute("ref"), "N");
  1198. }
  1199. model.refresh();
  1200. var fst_bjudgdetl = model.getValue("/root/main/acptinfo/judginfo/firstjudg/fst_bjudgdetl");
  1201. var bol = isSearchString(fst_bjudgdetl, "B09");
  1202. if(bol == true){
  1203. cmb_etcsickflag.disabled = false;
  1204. ipt_fst_etcsickcnts.disabled = false;
  1205. }else{
  1206. cmb_etcsickflag.disabled = true;
  1207. ipt_fst_etcsickcnts.disabled = true;
  1208. }
  1209. ]]>
  1210. </script>
  1211. </select>
  1212. <input id="ipt_fst_etcsickcnts" ref="/root/main/acptinfo/judginfo/firstjudg/fst_etcsickcnts" class="input_search" maxlength="20" style="left:565px; top:58px; width:190px; height:19px; "/>
  1213. <select1 id="cmb_etcsickflag" ref="/root/main/acptinfo/judginfo/firstjudg/fst_etcsickflag" class="combo_default" appearance="minimal" style="left:447px; top:58px; width:110px; height:19px; ">
  1214. <choices>
  1215. <itemset nodeset="/root/init/judginfo/etcsickflaglst/item">
  1216. <label ref="nm"/>
  1217. <value ref="cd"/>
  1218. </itemset>
  1219. </choices>
  1220. </select1>
  1221. <line id="line10" class="line_2" style="x1:5px; y1:131px; x2:755px; y2:131px; "/>
  1222. <caption id="caption5" class="cell_1" style="left:30px; top:157px; width:100px; height:23px; text-align:left; vertical-align:middle; ">유질환자 D</caption>
  1223. <select id="chk_cjudgdetl" ref="/root/main/acptinfo/judginfo/firstjudg/fst_cjudgdetl" overflow="visible" appearance="full" cellspacing="10" cols="5" style="left:132px; top:161px; width:281px; height:15px; border-style:none; ">
  1224. <choices>
  1225. <itemset nodeset="/root/init/judginfo/Cjudglst/item">
  1226. <label ref="nm"/>
  1227. <value ref="cd"/>
  1228. </itemset>
  1229. </choices>
  1230. <script type="javascript" ev:event="xforms-value-changed">
  1231. <![CDATA[
  1232. var checkList = chk_cjudgdetl.value;
  1233. if(checkList.length > 1){
  1234. model.setValue(bol_judgcdc.attribute("ref"), "Y");
  1235. model.setValue(bol_judgcda.attribute("ref"), "N");
  1236. }else{
  1237. model.setValue(bol_judgcdc.attribute("ref"), "N");
  1238. }
  1239. model.refresh();
  1240. var fst_cjudgdetl = model.getValue("/root/main/acptinfo/judginfo/firstjudg/fst_cjudgdetl");
  1241. var bol = isSearchString(fst_cjudgdetl ,"C04");
  1242. if (bol == true) {
  1243. ipt_fst_etcsickcnts1.disabled = false;
  1244. } else {
  1245. ipt_fst_etcsickcnts1.disabled = true;
  1246. }
  1247. ]]>
  1248. </script>
  1249. </select>
  1250. <input id="ipt_fst_etcsickcnts1" ref="/root/main/acptinfo/judginfo/firstjudg/fst_etcsickcnts1" class="input_search" maxlength="20" style="left:425px; top:160px; width:330px; height:19px; "/>
  1251. <caption id="caption6" class="cell_1" style="left:30px; top:82px; width:100px; height:48px; text-align:left; vertical-align:middle; ">일반질환의심 R1</caption>
  1252. <select id="chk_r1judgdetl" ref="/root/main/acptinfo/judginfo/firstjudg/fst_r1judgdetl" overflow="visible" appearance="full" cellspacing="10" cols="6" vcellspacing="5" style="left:132px; top:85px; width:610px; height:45px; border-style:none; ">
  1253. <choices>
  1254. <itemset nodeset="/root/init/judginfo/R1judglst/item">
  1255. <label ref="nm"/>
  1256. <value ref="cd"/>
  1257. </itemset>
  1258. </choices>
  1259. <script type="javascript" ev:event="xforms-value-changed">
  1260. <![CDATA[
  1261. var checkList = chk_r1judgdetl.value;
  1262. if(checkList.length > 1){
  1263. model.setValue(bol_judgcdr1.attribute("ref"), "Y");
  1264. model.setValue(bol_judgcda.attribute("ref"), "N");
  1265. }else{
  1266. model.setValue(bol_judgcdr1.attribute("ref"), "N");
  1267. }
  1268. model.refresh();
  1269. var fst_r1judgdetl = model.getValue("/root/main/acptinfo/judginfo/firstjudg/fst_r1judgdetl");
  1270. var bol = isSearchString(fst_r1judgdetl ,"D08");
  1271. if(bol == true){
  1272. ipt_fst_etcsickcnts2.disabled = false;
  1273. }else{
  1274. ipt_fst_etcsickcnts2.disabled = true;
  1275. }
  1276. ]]>
  1277. </script>
  1278. </select>
  1279. <input id="ipt_fst_etcsickcnts2" ref="/root/main/acptinfo/judginfo/firstjudg/fst_etcsickcnts2" class="input_search" maxlength="20" style="left:425px; top:107px; width:330px; height:19px; "/>
  1280. <caption id="caption7" class="cell_1" style="left:30px; top:133px; width:210px; height:23px; text-align:left; vertical-align:middle; ">고혈압 당뇨병 질환의심 R2 2차대상</caption>
  1281. <line id="line12" class="line_2" style="x1:5px; y1:131px; x2:755px; y2:131px; "/>
  1282. <select id="chk_r2judgdetl" ref="/root/main/acptinfo/judginfo/firstjudg/fst_r2judgdetl" overflow="visible" appearance="full" cellspacing="10" cols="5" style="left:245px; top:135px; width:505px; height:15px; border-style:none; ">
  1283. <choices>
  1284. <itemset nodeset="/root/init/judginfo/R2judglst/item">
  1285. <label ref="nm"/>
  1286. <value ref="cd"/>
  1287. </itemset>
  1288. </choices>
  1289. <script type="javascript" ev:event="xforms-value-changed">
  1290. <![CDATA[
  1291. var checkList = chk_r2judgdetl.value; // E01:고혈압질환의심, E02: 당뇨병질환의심, E03: 생애
  1292. // 2015/09/22 2차대상 체크 넣을시 생애는 제외되도록 수정
  1293. if(checkList.search("E03")<0){
  1294. if(checkList.length > 1){
  1295. model.setValue(bol_judgcdr2.attribute("ref"), "Y");
  1296. model.setValue(bol_judgcda.attribute("ref"), "N");
  1297. }else{
  1298. model.setValue(bol_judgcdr2.attribute("ref"), "N");
  1299. }
  1300. model.refresh();
  1301. }else if(checkList.search("E03")>=0 && (checkList.search("E01")>=0 || checkList.search("E02")>=0)){
  1302. if(checkList.length > 1){
  1303. model.setValue(bol_judgcdr2.attribute("ref"), "Y");
  1304. model.setValue(bol_judgcda.attribute("ref"), "N");
  1305. }else{
  1306. model.setValue(bol_judgcdr2.attribute("ref"), "N");
  1307. }
  1308. model.refresh();
  1309. }else{
  1310. model.setValue(bol_judgcdr2.attribute("ref"), "N");
  1311. model.refresh();
  1312. }
  1313. /*
  1314. if(checkList.length > 1){
  1315. model.setValue(bol_judgcdr2.attribute("ref"), "Y");
  1316. model.setValue(bol_judgcda.attribute("ref"), "N");
  1317. }else{
  1318. model.setValue(bol_judgcdr2.attribute("ref"), "N");
  1319. }
  1320. model.refresh();
  1321. */
  1322. ]]>
  1323. </script>
  1324. </select>
  1325. <caption id="caption11" class="cell_1" style="left:5px; top:82px; width:30px; height:48px; text-align:left; vertical-align:middle; "/>
  1326. <caption id="caption12" class="cell_1" style="left:5px; top:7px; width:30px; height:23px; text-align:left; vertical-align:middle; "/>
  1327. <caption id="caption13" class="cell_1" style="left:5px; top:32px; width:30px; height:48px; text-align:left; vertical-align:middle; "/>
  1328. <caption id="caption14" class="cell_1" style="left:5px; top:157px; width:30px; height:23px; text-align:left; vertical-align:middle; "/>
  1329. <caption id="caption15" class="cell_1" style="left:5px; top:133px; width:30px; height:23px; text-align:left; vertical-align:middle; "/>
  1330. <bool id="bol_judgcda" checkvalue="Y,N" ref="/root/main/acptinfo/judginfo/firstjudg/fst_ajudgcd" style="left:10px; top:9px; width:20px; height:20px; ">
  1331. <script type="javascript" ev:event="xforms-value-changed">
  1332. <![CDATA[
  1333. var vStat = fGetActiveStat(bol_judgcda.value);
  1334. if(vStat){
  1335. model.setValue(bol_judgcdb.attribute("ref") , "N");
  1336. model.setValue(bol_judgcdc.attribute("ref") , "N");
  1337. model.setValue(bol_judgcdr1.attribute("ref") , "N");
  1338. model.setValue(bol_judgcdr2.attribute("ref") , "N");
  1339. model.refresh();
  1340. bol_judgcdb.dispatch("xforms-value-changed");
  1341. bol_judgcdr1.dispatch("xforms-value-changed");
  1342. bol_judgcdr2.dispatch("xforms-value-changed");
  1343. bol_judgcdc.dispatch("xforms-value-changed");
  1344. }
  1345. model.refresh();
  1346. ]]>
  1347. </script>
  1348. </bool>
  1349. <bool id="bol_judgcdb" checkvalue="Y,N" ref="/root/main/acptinfo/judginfo/firstjudg/fst_bjudgcd" style="left:10px; top:44px; width:20px; height:20px; ">
  1350. <script type="javascript" ev:event="xforms-value-changed">
  1351. <![CDATA[
  1352. var vStat = fGetActiveStat(bol_judgcdb.value);
  1353. if(vStat){
  1354. model.setValue(bol_judgcda.attribute("ref"), "N");
  1355. }else{
  1356. model.resetInstanceNode(chk_bjudgdetl.attribute("ref"));
  1357. model.resetInstanceNode(cmb_etcsickflag.attribute("ref"));
  1358. model.resetInstanceNode(ipt_fst_etcsickcnts.attribute("ref"));
  1359. chk_bjudgdetl.dispatch("xforms-value-changed");
  1360. }
  1361. model.refresh();
  1362. ]]>
  1363. </script>
  1364. </bool>
  1365. <bool id="bol_judgcdr1" checkvalue="Y,N" ref="/root/main/acptinfo/judginfo/firstjudg/fst_r1judgcd" style="left:10px; top:95px; width:20px; height:20px; ">
  1366. <script type="javascript" ev:event="xforms-value-changed">
  1367. <![CDATA[
  1368. var vStat = fGetActiveStat(bol_judgcdr1.value);
  1369. if(vStat){
  1370. model.setValue(bol_judgcda.attribute("ref"), "N");
  1371. }else {
  1372. model.resetInstanceNode(chk_r1judgdetl.attribute("ref"));
  1373. model.resetInstanceNode(ipt_fst_etcsickcnts2.attribute("ref"));
  1374. chk_r1judgdetl.dispatch("xforms-value-changed");
  1375. }
  1376. model.refresh();
  1377. ]]>
  1378. </script>
  1379. </bool>
  1380. <bool id="bol_judgcdr2" checkvalue="Y,N" ref="/root/main/acptinfo/judginfo/firstjudg/fst_r2judgcd" style="left:10px; top:135px; width:20px; height:20px; ">
  1381. <script type="javascript" ev:event="xforms-value-changed">
  1382. <![CDATA[
  1383. var vStat = fGetActiveStat(bol_judgcdr2.value);
  1384. if(vStat){
  1385. model.setValue(bol_judgcda.attribute("ref"), "N");
  1386. }else{
  1387. model.resetInstanceNode(chk_r2judgdetl.attribute("ref"));
  1388. }
  1389. model.refresh();
  1390. ]]>
  1391. </script>
  1392. </bool>
  1393. <bool id="bol_judgcdc" checkvalue="Y,N" ref="/root/main/acptinfo/judginfo/firstjudg/fst_cjudgcd" style="left:10px; top:157px; width:20px; height:20px; ">
  1394. <script type="javascript" ev:event="xforms-value-changed">
  1395. <![CDATA[
  1396. var vStat = fGetActiveStat(bol_judgcdc.value);
  1397. if(vStat){
  1398. model.setValue(bol_judgcda.attribute("ref"), "N");
  1399. }else{
  1400. model.resetInstanceNode(chk_cjudgdetl.attribute("ref"));
  1401. model.resetInstanceNode(ipt_fst_etcsickcnts1.attribute("ref"));
  1402. chk_cjudgdetl.dispatch("xforms-value-changed");
  1403. }
  1404. model.refresh();
  1405. ]]>
  1406. </script>
  1407. </bool>
  1408. <line id="line82" class="line_2" style="x1:5px; y1:80px; x2:755px; y2:80px; "/>
  1409. <caption id="caption112" class="cell_1" style="left:5px; top:181px; width:125px; height:50px; text-align:left; vertical-align:middle; ">의심질환소견</caption>
  1410. <textarea id="txt_item01" ref="/root/main/acptinfo/judginfo/firstjudg/fst_item01" style="left:130px; top:181px; width:250px; height:50px; "/>
  1411. <caption id="caption113" class="cell_1" style="left:380px; top:181px; width:125px; height:50px; text-align:left; vertical-align:middle; ">유질환소견</caption>
  1412. <textarea id="txt_item02" ref="/root/main/acptinfo/judginfo/firstjudg/fst_item02" style="left:505px; top:181px; width:250px; height:50px; "/>
  1413. <caption id="caption114" class="cell_1" style="left:380px; top:232px; width:125px; height:50px; text-align:left; vertical-align:middle; ">기타소견</caption>
  1414. <textarea id="txt_item03" ref="/root/main/acptinfo/judginfo/firstjudg/fst_item03" style="left:130px; top:232px; width:250px; height:50px; "/>
  1415. <textarea id="txt_item04" ref="/root/main/acptinfo/judginfo/firstjudg/fst_item04" style="left:505px; top:232px; width:250px; height:50px; "/>
  1416. <caption id="caption115" class="cell_1" style="left:5px; top:232px; width:125px; height:50px; text-align:left; vertical-align:middle; ">
  1417. <![CDATA[생활습관
  1418. 관리소견]]>
  1419. </caption>
  1420. <button id="button9" class="btn2_letter2" visibility="visible" style="left:85px; top:195px; width:42px; height:19px; ">
  1421. <caption>선택</caption>
  1422. <script type="javascript" ev:event="DOMActivate">
  1423. <![CDATA[
  1424. //fGetRsltExmpCnts();
  1425. model.makeNode("/root/temp/judgexaminfo");
  1426. setParameter("SPAHR00410_PARAM1", "Y");
  1427. setParameter("SPAHR00410_PARAM2", "/root/temp/judgexaminfo");
  1428. setParameter("SPAHR00410_PARAM7", fGetHealExamFlag() );
  1429. setParameter("SPAHR00400_PARAM8", "G01"); // 일반건진
  1430. modal("SPAHR00410", 100, 100, "SPAHR00410");
  1431. if( model.getValue("/root/temp/okflag") != "ok" ) return ;
  1432. var vNodeList = instance1.selectNodes("/root/temp/judgexaminfo/list");
  1433. if( vNodeList == null ) reutrn ;
  1434. var vJudgCnts = model.getValue( txt_item01.attribute("ref") );
  1435. for( var i = 0 ; i < vNodeList.length ; i++){
  1436. if(vJudgCnts == ""){
  1437. vJudgCnts = vNodeList.item(i).judghangcnts.text;
  1438. }else{
  1439. vJudgCnts = vJudgCnts + "\n" + vNodeList.item(i).judghangcnts.text;
  1440. }
  1441. }
  1442. model.makeValue( txt_item01.attribute("ref") , vJudgCnts );
  1443. txt_item01.refresh();
  1444. ]]>
  1445. </script>
  1446. <!--script type="javascript" ev:event="DOMActivate">
  1447. <![CDATA[
  1448. fGetJudgExmpCnts(tar_judgexamcnts,"G0111");
  1449. ]]>
  1450. </script-->
  1451. </button>
  1452. <button id="button10" class="btn2_letter2" visibility="visible" style="left:450px; top:195px; width:42px; height:19px; ">
  1453. <caption>선택</caption>
  1454. <script type="javascript" ev:event="DOMActivate">
  1455. <![CDATA[
  1456. //fGetRsltExmpCnts();
  1457. model.makeNode("/root/temp/judgexaminfo");
  1458. setParameter("SPAHR00410_PARAM1", "Y");
  1459. setParameter("SPAHR00410_PARAM2", "/root/temp/judgexaminfo");
  1460. setParameter("SPAHR00410_PARAM7", fGetHealExamFlag() );
  1461. setParameter("SPAHR00400_PARAM8", "G01"); // 일반건진
  1462. modal("SPAHR00410", 100, 100, "SPAHR00410");
  1463. if( model.getValue("/root/temp/okflag") != "ok" ) return ;
  1464. var vNodeList = instance1.selectNodes("/root/temp/judgexaminfo/list");
  1465. if( vNodeList == null ) reutrn ;
  1466. var vJudgCnts = model.getValue( txt_item02.attribute("ref") );
  1467. for( var i = 0 ; i < vNodeList.length ; i++){
  1468. if(vJudgCnts == ""){
  1469. vJudgCnts = vNodeList.item(i).judghangcnts.text;
  1470. }else{
  1471. vJudgCnts = vJudgCnts + "\n" + vNodeList.item(i).judghangcnts.text;
  1472. }
  1473. }
  1474. model.makeValue( txt_item02.attribute("ref") , vJudgCnts );
  1475. txt_item02.refresh();
  1476. ]]>
  1477. </script>
  1478. <!--script type="javascript" ev:event="DOMActivate">
  1479. <![CDATA[
  1480. fGetJudgExmpCnts(tar_judgexamcnts,"G0111");
  1481. ]]>
  1482. </script-->
  1483. </button>
  1484. <button id="button11" class="btn2_letter2" visibility="visible" style="left:450px; top:245px; width:42px; height:19px; ">
  1485. <caption>선택</caption>
  1486. <script type="javascript" ev:event="DOMActivate">
  1487. <![CDATA[
  1488. //fGetRsltExmpCnts();
  1489. model.makeNode("/root/temp/judgexaminfo");
  1490. setParameter("SPAHR00410_PARAM1", "Y");
  1491. setParameter("SPAHR00410_PARAM2", "/root/temp/judgexaminfo");
  1492. setParameter("SPAHR00410_PARAM7", fGetHealExamFlag() );
  1493. setParameter("SPAHR00400_PARAM8", "G01"); // 일반건진
  1494. modal("SPAHR00410", 100, 100, "SPAHR00410");
  1495. if( model.getValue("/root/temp/okflag") != "ok" ) return ;
  1496. var vNodeList = instance1.selectNodes("/root/temp/judgexaminfo/list");
  1497. if( vNodeList == null ) reutrn ;
  1498. var vJudgCnts = model.getValue( txt_item04.attribute("ref") );
  1499. for( var i = 0 ; i < vNodeList.length ; i++){
  1500. if(vJudgCnts == ""){
  1501. vJudgCnts = vNodeList.item(i).judghangcnts.text;
  1502. }else{
  1503. vJudgCnts = vJudgCnts + "\n" + vNodeList.item(i).judghangcnts.text;
  1504. }
  1505. }
  1506. model.makeValue( txt_item04.attribute("ref") , vJudgCnts );
  1507. txt_item04.refresh();
  1508. ]]>
  1509. </script>
  1510. <!--script type="javascript" ev:event="DOMActivate">
  1511. <![CDATA[
  1512. fGetJudgExmpCnts(tar_judgexamcnts,"G0111");
  1513. ]]>
  1514. </script-->
  1515. </button>
  1516. <button id="button12" class="btn2_letter2" visibility="visible" style="left:85px; top:245px; width:42px; height:19px; ">
  1517. <caption>선택</caption>
  1518. <script type="javascript" ev:event="DOMActivate">
  1519. <![CDATA[
  1520. //fGetRsltExmpCnts();
  1521. model.makeNode("/root/temp/judgexaminfo");
  1522. setParameter("SPAHR00410_PARAM1", "Y");
  1523. setParameter("SPAHR00410_PARAM2", "/root/temp/judgexaminfo");
  1524. setParameter("SPAHR00410_PARAM7", fGetHealExamFlag() );
  1525. setParameter("SPAHR00400_PARAM8", "G01"); // 일반건진
  1526. modal("SPAHR00410", 100, 100, "SPAHR00410");
  1527. if( model.getValue("/root/temp/okflag") != "ok" ) return ;
  1528. var vNodeList = instance1.selectNodes("/root/temp/judgexaminfo/list");
  1529. if( vNodeList == null ) reutrn ;
  1530. var vJudgCnts = model.getValue( txt_item03.attribute("ref") );
  1531. for( var i = 0 ; i < vNodeList.length ; i++){
  1532. if(vJudgCnts == ""){
  1533. vJudgCnts = vNodeList.item(i).judghangcnts.text;
  1534. }else{
  1535. vJudgCnts = vJudgCnts + "\n" + vNodeList.item(i).judghangcnts.text;
  1536. }
  1537. }
  1538. model.makeValue( txt_item03.attribute("ref") , vJudgCnts );
  1539. txt_item03.refresh();
  1540. ]]>
  1541. </script>
  1542. <!--script type="javascript" ev:event="DOMActivate">
  1543. <![CDATA[
  1544. fGetJudgExmpCnts(tar_judgexamcnts,"G0111");
  1545. ]]>
  1546. </script-->
  1547. </button>
  1548. <caption id="caption116" class="cell_1" style="left:580px; top:8px; width:60px; height:23px; text-align:center; vertical-align:middle; ">문진의</caption>
  1549. <select1 id="cmb_fstinqrdrid" ref="/root/main/acptinfo/judginfo/firstjudg/fst_inqrdrid" class="combo" appearance="minimal" style="left:642px; top:9px; width:90px; height:19px; ">
  1550. <choices>
  1551. <itemset nodeset="/root/init/baseinfo/drlst/itemdr">
  1552. <label ref="drnm"/>
  1553. <value ref="drid"/>
  1554. </itemset>
  1555. </choices>
  1556. </select1>
  1557. </case>
  1558. <case id="case_second">
  1559. <caption id="caption30" class="cell_1" style="left:5px; top:31px; width:120px; height:23px; text-align:center; vertical-align:middle; ">구분</caption>
  1560. <line id="line26" class="line_1" style="x1:5px; y1:0px; x2:757px; y2:0px; "/>
  1561. <caption id="caption2" class="cell_1" style="left:127px; top:31px; width:156px; height:23px; text-align:center; vertical-align:middle; ">당뇨병</caption>
  1562. <caption id="caption20" class="cell_1" style="left:443px; top:31px; width:156px; height:23px; text-align:center; vertical-align:middle; ">고혈압</caption>
  1563. <caption id="caption23" class="cell_1" style="left:5px; top:57px; width:120px; height:23px; text-align:center; vertical-align:middle; ">판정</caption>
  1564. <caption id="caption27" class="cell_1" style="left:5px; top:109px; width:120px; height:40px; text-align:center; vertical-align:middle; ">
  1565. <![CDATA[1차 건강진단
  1566. 결과요약(생애)]]>
  1567. </caption>
  1568. <caption id="caption28" class="cell_1" style="left:5px; top:152px; width:120px; height:40px; text-align:center; vertical-align:middle; ">종합권고사항</caption>
  1569. <select1 id="rdo_glycosdetl" ref="/root/main/acptinfo/judginfo/secondjudg/sec_glycosdetl" appearance="full" cols="3" overflow="visible" style="left:127px; top:59px; width:311px; height:20px; border-style:none; ">
  1570. <choices>
  1571. <itemset nodeset="/root/init/judginfo/glycoscdlist/item">
  1572. <label ref="nm"/>
  1573. <value ref="cd"/>
  1574. </itemset>
  1575. </choices>
  1576. </select1>
  1577. <select1 id="rdo_hypetsdetl" ref="/root/main/acptinfo/judginfo/secondjudg/sec_hypetsdetl" appearance="full" cols="3" overflow="visible" style="left:443px; top:59px; width:311px; height:20px; border-style:none; ">
  1578. <choices>
  1579. <itemset nodeset="/root/init/judginfo/hypetscdlist/item">
  1580. <label ref="nm"/>
  1581. <value ref="cd"/>
  1582. </itemset>
  1583. </choices>
  1584. </select1>
  1585. <caption id="caption21" class="cell_1" style="left:5px; top:83px; width:120px; height:23px; text-align:center; vertical-align:middle; ">치료계획</caption>
  1586. <select1 id="cmb_glycosanamnesisdetl" ref="/root/main/acptinfo/judginfo/secondjudg/sec_glycosanamnesisdetl" appearance="minimal" style="left:127px; top:85px; width:311px; height:20px; ">
  1587. <choices>
  1588. <itemset nodeset="/root/init/judginfo/glycosanamnesiscdlist/item">
  1589. <label ref="nm"/>
  1590. <value ref="cd"/>
  1591. </itemset>
  1592. </choices>
  1593. </select1>
  1594. <select1 id="cmb_hypetsanamnesisdetl" ref="/root/main/acptinfo/judginfo/secondjudg/sec_hypetsanamnesisdetl" appearance="minimal" style="left:443px; top:85px; width:311px; height:19px; ">
  1595. <choices>
  1596. <itemset nodeset="/root/init/judginfo/hypetsanamnesiscdlist/item">
  1597. <label ref="nm"/>
  1598. <value ref="cd"/>
  1599. </itemset>
  1600. </choices>
  1601. </select1>
  1602. <caption id="caption29" class="cell_1" style="left:600px; top:31px; width:156px; height:23px; text-align:center; vertical-align:middle; ">기왕력자</caption>
  1603. <caption id="caption31" class="cell_1" style="left:285px; top:31px; width:156px; height:23px; text-align:center; vertical-align:middle; ">기왕력자</caption>
  1604. <bool id="bol_glycosyn" checkvalue="Y,N" ref="/root/main/acptinfo/judginfo/secondjudg/sec_glycosyn" style="left:170px; top:34px; width:15px; height:15px; border-style:none; "/>
  1605. <bool id="bol_hypetsyn" checkvalue="Y,N" ref="/root/main/acptinfo/judginfo/secondjudg/sec_hypetsyn" style="left:485px; top:34px; width:15px; height:15px; border-style:none; "/>
  1606. <bool id="bol_glycosanamnesisyn" checkvalue="Y,N" ref="/root/main/acptinfo/judginfo/secondjudg/sec_glycosanamnesisyn" style="left:320px; top:34px; width:15px; height:15px; border-style:none; "/>
  1607. <bool id="bol_hypetsanamnesisyn" checkvalue="Y,N" ref="/root/main/acptinfo/judginfo/secondjudg/sec_hypetsanamnesisyn" style="left:636px; top:34px; width:15px; height:15px; border-style:none; "/>
  1608. <line id="line3" class="line_2" style="x1:5px; y1:80px; x2:757px; y2:80px; "/>
  1609. <textarea id="txt_rsltsmmcnt" ref="/root/main/acptinfo/judginfo/secondjudg/sec_rsltsmmcnt" imemode="hangul" style="left:127px; top:111px; width:628px; height:36px; "/>
  1610. <line id="line4" class="line_2" style="x1:5px; y1:192px; x2:757px; y2:192px; "/>
  1611. <textarea id="txt_colgrecmfact" ref="/root/main/acptinfo/judginfo/secondjudg/sec_colgrecmfact" imemode="hangul" style="left:127px; top:154px; width:628px; height:36px; "/>
  1612. <input id="input3" ref="/root/main/acptinfo/judginfo/secondjudg/sec_scndjudgdd" class="input_essential" disabled="true" inputtype="date" style="left:127px; top:7px; width:110px; height:19px; "/>
  1613. <caption id="caption32" class="cell_1" style="left:383px; top:5px; width:120px; height:23px; text-align:center; vertical-align:middle; ">판정의</caption>
  1614. <select1 id="cmb_scndjudgdrid" ref="/root/main/acptinfo/judginfo/secondjudg/sec_scndjudgdrid" class="combo" appearance="minimal" style="left:505px; top:7px; width:123px; height:19px; ">
  1615. <choices>
  1616. <itemset nodeset="/root/init/baseinfo/drlst/itemdr">
  1617. <label ref="drnm"/>
  1618. <value ref="drid"/>
  1619. </itemset>
  1620. </choices>
  1621. </select1>
  1622. <caption id="caption33" class="cell_1" style="left:5px; top:5px; width:120px; height:23px; text-align:center; vertical-align:middle; ">판정일자</caption>
  1623. <line id="line6" class="line_2" style="x1:5px; y1:28px; x2:757px; y2:28px; "/>
  1624. <line id="line16" class="line_2" style="x1:5px; y1:54px; x2:757px; y2:54px; "/>
  1625. <line id="line17" class="line_2" style="x1:5px; y1:106px; x2:757px; y2:106px; "/>
  1626. <line id="line2" class="line_2" style="x1:5px; y1:149px; x2:757px; y2:149px; "/>
  1627. <caption id="caption25" class="cell_1" style="left:5px; top:195px; width:120px; height:40px; text-align:center; vertical-align:middle; ">
  1628. <![CDATA[인지기능장애
  1629. (생애66/70/74)]]>
  1630. </caption>
  1631. <caption id="caption34" class="cell_1" style="left:5px; top:238px; width:120px; height:23px; text-align:center; vertical-align:middle; ">우울증(생애40세)</caption>
  1632. <caption id="caption35" class="cell_1" style="left:5px; top:264px; width:120px; height:23px; text-align:center; vertical-align:middle; ">우울증(생애66세)</caption>
  1633. <select1 id="cmb_awarfunthandcap" ref="/root/main/acptinfo/judginfo/secondjudg/sec_awarfunthandcap" appearance="minimal" style="left:127px; top:205px; width:628px; height:36px; ">
  1634. <choices>
  1635. <itemset nodeset="/root/init/judginfo/awarfunthandcaplst/G028">
  1636. <label ref="cdnm"/>
  1637. <value ref="cdid"/>
  1638. </itemset>
  1639. </choices>
  1640. </select1>
  1641. <select1 id="cmb_melancholia1" ref="/root/main/acptinfo/judginfo/secondjudg/sec_melancholia1" appearance="minimal" style="left:127px; top:240px; width:628px; height:19px; ">
  1642. <choices>
  1643. <itemset nodeset="/root/init/judginfo/melancholia1lst/G072">
  1644. <label ref="cdnm"/>
  1645. <value ref="cdid"/>
  1646. </itemset>
  1647. </choices>
  1648. </select1>
  1649. <select1 id="cmb_melancholia2" ref="/root/main/acptinfo/judginfo/secondjudg/sec_melancholia2" appearance="minimal" style="left:127px; top:266px; width:628px; height:19px; ">
  1650. <choices>
  1651. <itemset nodeset="/root/init/judginfo/melancholia2lst/G073">
  1652. <label ref="cdnm"/>
  1653. <value ref="cdid"/>
  1654. </itemset>
  1655. </choices>
  1656. </select1>
  1657. <line id="line18" class="line_2" style="x1:5px; y1:235px; x2:757px; y2:235px; "/>
  1658. <line id="line20" class="line_2" style="x1:5px; y1:261px; x2:757px; y2:261px; "/>
  1659. <line id="line21" class="line_3" style="x1:5px; y1:288px; x2:757px; y2:288px; "/>
  1660. <button id="btn_secondjudg" class="btn2_letter6" style="left:20px; top:160px; width:86px; height:19px; ">
  1661. <caption>종합권고사항</caption>
  1662. <script type="javascript" ev:event="DOMActivate">
  1663. <![CDATA[
  1664. fGetJudgExmpCnts(txt_colgrecmfact,"G0112");
  1665. ]]>
  1666. </script>
  1667. </button>
  1668. <button id="button5" class="btn2_letter7" style="left:20px; top:128px; width:92px; height:19px; ">
  1669. <caption>결과요약(생애)</caption>
  1670. <script type="javascript" ev:event="DOMActivate">
  1671. <![CDATA[
  1672. fGetJudgExmpCnts(txt_rsltsmmcnt,"G011");
  1673. ]]>
  1674. </script>
  1675. </button>
  1676. </case>
  1677. <case id="case_lifejudg">
  1678. <caption id="caption40" class="cell_1" style="left:87px; top:5px; width:80px; height:23px; text-align:center; vertical-align:middle; ">니코틴의존도</caption>
  1679. <caption id="caption43" class="cell_1" style="left:87px; top:31px; width:80px; height:23px; text-align:center; vertical-align:middle; ">처방</caption>
  1680. <caption id="caption44" class="cell_1" style="left:5px; top:5px; width:80px; height:49px; text-align:center; vertical-align:middle; ">흡연</caption>
  1681. <caption id="caption45" class="cell_1" style="left:87px; top:59px; width:80px; height:23px; text-align:center; vertical-align:middle; ">평가</caption>
  1682. <caption id="caption46" class="cell_1" style="left:87px; top:85px; width:80px; height:23px; text-align:center; vertical-align:middle; ">처방</caption>
  1683. <caption id="caption47" class="cell_1" style="left:5px; top:59px; width:80px; height:49px; text-align:center; vertical-align:middle; ">음주</caption>
  1684. <line id="line8" class="line_1" style="x1:5px; y1:0px; x2:757px; y2:0px; "/>
  1685. <caption id="caption48" class="cell_1" style="left:87px; top:113px; width:80px; height:23px; text-align:center; vertical-align:middle; ">평가</caption>
  1686. <caption id="caption49" class="cell_1" style="left:87px; top:139px; width:80px; height:23px; text-align:center; vertical-align:middle; ">종류</caption>
  1687. <caption id="caption52" class="cell_1" style="left:5px; top:113px; width:80px; height:101px; text-align:center; vertical-align:middle; ">운동</caption>
  1688. <caption id="caption53" class="cell_1" style="left:87px; top:165px; width:80px; height:23px; text-align:center; vertical-align:middle; ">시간</caption>
  1689. <caption id="caption54" class="cell_1" style="left:87px; top:191px; width:80px; height:23px; text-align:center; vertical-align:middle; ">횟수</caption>
  1690. <line id="line22" class="line_2" style="x1:87px; y1:28px; x2:332px; y2:28px; "/>
  1691. <line id="line23" class="line_3" style="x1:5px; y1:55px; x2:332px; y2:55px; "/>
  1692. <line id="line24" class="line_2" style="x1:87px; y1:82px; x2:332px; y2:82px; "/>
  1693. <line id="line25" class="line_3" style="x1:5px; y1:109px; x2:332px; y2:109px; "/>
  1694. <line id="line28" class="line_2" style="x1:87px; y1:136px; x2:332px; y2:136px; "/>
  1695. <line id="line29" class="line_2" style="x1:87px; y1:162px; x2:332px; y2:162px; "/>
  1696. <line id="line30" class="line_2" style="x1:87px; y1:188px; x2:332px; y2:188px; "/>
  1697. <line id="line34" class="line_3" style="x1:5px; y1:215px; x2:332px; y2:215px; "/>
  1698. <select1 id="cmb_smoknicotinedepend" ref="/root/main/acptinfo/judginfo/secondjudg/sec_smoknicotinedepend" appearance="minimal" style="left:169px; top:7px; width:160px; height:19px; ">
  1699. <choices>
  1700. <itemset nodeset="/root/init/judginfo/smoknicotinedependlst/G074">
  1701. <label ref="cdnm"/>
  1702. <value ref="cdid"/>
  1703. </itemset>
  1704. </choices>
  1705. </select1>
  1706. <caption id="caption36" class="cell_1" style="left:420px; top:5px; width:80px; height:23px; text-align:center; vertical-align:middle; ">평 가</caption>
  1707. <caption id="caption37" class="cell_1" style="left:338px; top:5px; width:80px; height:128px; text-align:center; vertical-align:middle; ">영양</caption>
  1708. <line id="line36" class="line_2" style="x1:420px; y1:28px; x2:757px; y2:28px; "/>
  1709. <caption id="caption38" class="cell_1" style="left:420px; top:31px; width:80px; height:23px; text-align:center; vertical-align:middle; ">처방(추천)</caption>
  1710. <caption id="caption39" class="cell_1" style="left:420px; top:57px; width:80px; height:23px; text-align:center; vertical-align:middle; ">처방(절제)</caption>
  1711. <caption id="caption41" class="cell_1" style="left:420px; top:83px; width:80px; height:23px; text-align:center; vertical-align:middle; ">식사습관</caption>
  1712. <caption id="caption42" class="cell_1" style="left:420px; top:109px; width:80px; height:23px; text-align:center; vertical-align:middle; ">연 계</caption>
  1713. <line id="line38" class="line_2" style="x1:420px; y1:54px; x2:747px; y2:54px; "/>
  1714. <line id="line39" class="line_2" style="x1:420px; y1:80px; x2:757px; y2:80px; "/>
  1715. <line id="line40" class="line_2" style="x1:420px; y1:106px; x2:757px; y2:106px; "/>
  1716. <line id="line41" class="line_3" style="x1:338px; y1:133px; x2:757px; y2:133px; "/>
  1717. <caption id="caption56" class="cell_1" style="left:338px; top:137px; width:80px; height:117px; text-align:center; vertical-align:middle; ">비만</caption>
  1718. <caption id="caption59" class="cell_1" style="left:420px; top:163px; width:80px; height:23px; text-align:center; vertical-align:middle; ">복부비만</caption>
  1719. <caption id="caption60" class="cell_1" style="left:420px; top:189px; width:80px; height:65px; text-align:center; vertical-align:middle; ">처 방</caption>
  1720. <caption id="caption61" class="cell_1" style="left:420px; top:137px; width:80px; height:23px; text-align:center; vertical-align:middle; ">체질량지수</caption>
  1721. <line id="line42" class="line_2" style="x1:420px; y1:160px; x2:757px; y2:160px; "/>
  1722. <line id="line43" class="line_2" style="x1:420px; y1:186px; x2:757px; y2:186px; "/>
  1723. <line id="line44" class="line_3" style="x1:338px; y1:255px; x2:757px; y2:255px; "/>
  1724. <bool id="bool1" checkvalue="Y,N" ref="/root/main/acptinfo/judginfo/secondjudg/sec_smokyn" style="left:16px; top:21px; width:15px; height:15px; border-style:none; "/>
  1725. <bool id="bool2" checkvalue="Y,N" ref="/root/main/acptinfo/judginfo/secondjudg/sec_drunkyn" style="left:16px; top:75px; width:15px; height:15px; border-style:none; "/>
  1726. <bool id="bool3" checkvalue="Y,N" ref="/root/main/acptinfo/judginfo/secondjudg/sec_exeryn" style="left:16px; top:155px; width:15px; height:15px; border-style:none; "/>
  1727. <bool id="bool4" checkvalue="Y,N" ref="/root/main/acptinfo/judginfo/secondjudg/sec_nutryn" style="left:350px; top:60px; width:15px; height:15px; border-style:none; "/>
  1728. <bool id="bool5" checkvalue="Y,N" ref="/root/main/acptinfo/judginfo/secondjudg/sec_fatyn" style="left:350px; top:187px; width:15px; height:15px; border-style:none; "/>
  1729. <select1 id="cmb_smokprcp" ref="/root/main/acptinfo/judginfo/secondjudg/sec_smokprcp" appearance="minimal" style="left:169px; top:33px; width:160px; height:19px; ">
  1730. <choices>
  1731. <itemset nodeset="/root/init/judginfo/smokprcplst/G075">
  1732. <label ref="cdnm"/>
  1733. <value ref="cdid"/>
  1734. </itemset>
  1735. </choices>
  1736. </select1>
  1737. <select1 id="cmb_drunkvalu" ref="/root/main/acptinfo/judginfo/secondjudg/sec_drunkvalu" appearance="minimal" style="left:169px; top:61px; width:160px; height:19px; ">
  1738. <choices>
  1739. <itemset nodeset="/root/init/judginfo/drunkvalulst/G076">
  1740. <label ref="cdnm"/>
  1741. <value ref="cdid"/>
  1742. </itemset>
  1743. </choices>
  1744. </select1>
  1745. <select1 id="cmb_drunkprcp" ref="/root/main/acptinfo/judginfo/secondjudg/sec_drunkprcp" appearance="minimal" style="left:169px; top:87px; width:160px; height:19px; ">
  1746. <choices>
  1747. <itemset nodeset="/root/init/judginfo/drunkprcplst/G015">
  1748. <label ref="cdnm"/>
  1749. <value ref="cdid"/>
  1750. </itemset>
  1751. </choices>
  1752. </select1>
  1753. <select1 id="cmb_exervalu" ref="/root/main/acptinfo/judginfo/secondjudg/sec_exervalu" appearance="minimal" style="left:169px; top:115px; width:160px; height:19px; ">
  1754. <choices>
  1755. <itemset nodeset="/root/init/judginfo/exervalulst/G016">
  1756. <label ref="cdnm"/>
  1757. <value ref="cdid"/>
  1758. </itemset>
  1759. </choices>
  1760. </select1>
  1761. <select1 id="cmb_exerkind" ref="/root/main/acptinfo/judginfo/secondjudg/sec_exerkind" appearance="minimal" style="left:169px; top:141px; width:160px; height:19px; ">
  1762. <choices>
  1763. <itemset nodeset="/root/init/judginfo/exerkindlst/G017">
  1764. <label ref="cdnm"/>
  1765. <value ref="cdid"/>
  1766. </itemset>
  1767. </choices>
  1768. </select1>
  1769. <select1 id="cmb_exertm" ref="/root/main/acptinfo/judginfo/secondjudg/sec_exertm" appearance="minimal" style="left:169px; top:167px; width:160px; height:19px; ">
  1770. <choices>
  1771. <itemset nodeset="/root/init/judginfo/exertmlst/G018">
  1772. <label ref="cdnm"/>
  1773. <value ref="cdid"/>
  1774. </itemset>
  1775. </choices>
  1776. </select1>
  1777. <select1 id="cmb_exertims" ref="/root/main/acptinfo/judginfo/secondjudg/sec_exertims" appearance="minimal" style="left:169px; top:195px; width:160px; height:19px; ">
  1778. <choices>
  1779. <itemset nodeset="/root/init/judginfo/exertimslst/G019">
  1780. <label ref="cdnm"/>
  1781. <value ref="cdid"/>
  1782. </itemset>
  1783. </choices>
  1784. </select1>
  1785. <select1 id="rdo_nutrvalu" ref="/root/main/acptinfo/judginfo/secondjudg/sec_nutrvalu" appearance="full" cols="3" overflow="visible" style="left:504px; top:7px; width:251px; height:20px; border-style:none; ">
  1786. <choices>
  1787. <itemset nodeset="/root/init/judginfo/nutrvalulst/G020">
  1788. <label ref="cdnm"/>
  1789. <value ref="cdid"/>
  1790. </itemset>
  1791. </choices>
  1792. </select1>
  1793. <select id="chk_nutrprcprecm" ref="/root/main/acptinfo/judginfo/secondjudg/sec_nutrprcprecm" overflow="visible" appearance="full" cellspacing="10" cols="3" style="left:504px; top:33px; width:251px; height:20px; border-style:none; ">
  1794. <choices>
  1795. <itemset nodeset="/root/init/judginfo/nutrprcprecmlst/G021">
  1796. <label ref="cdnm"/>
  1797. <value ref="cdid"/>
  1798. </itemset>
  1799. </choices>
  1800. </select>
  1801. <select id="chk_nutrprcptemperance" ref="/root/main/acptinfo/judginfo/secondjudg/sec_nutrprcptemperance" overflow="visible" appearance="full" cellspacing="10" cols="3" style="left:504px; top:60px; width:251px; height:20px; border-style:none; ">
  1802. <choices>
  1803. <itemset nodeset="/root/init/judginfo/nutrprcptemperancelst/G022">
  1804. <label ref="cdnm"/>
  1805. <value ref="cdid"/>
  1806. </itemset>
  1807. </choices>
  1808. </select>
  1809. <select id="chk_nutrmealhabit" ref="/root/main/acptinfo/judginfo/secondjudg/sec_nutrmealhabit" overflow="visible" appearance="full" cellspacing="10" cols="3" style="left:504px; top:85px; width:251px; height:20px; border-style:none; ">
  1810. <choices>
  1811. <itemset nodeset="/root/init/judginfo/nutrmealhabitlst/G023">
  1812. <label ref="cdnm"/>
  1813. <value ref="cdid"/>
  1814. </itemset>
  1815. </choices>
  1816. </select>
  1817. <select id="chk_nutrlnk" ref="/root/main/acptinfo/judginfo/secondjudg/sec_nutrlnk" overflow="visible" appearance="full" cellspacing="10" cols="3" style="left:504px; top:111px; width:251px; height:20px; border-style:none; ">
  1818. <choices>
  1819. <itemset nodeset="/root/init/judginfo/nutrlnklst/G024">
  1820. <label ref="cdnm"/>
  1821. <value ref="cdid"/>
  1822. </itemset>
  1823. </choices>
  1824. </select>
  1825. <select1 id="cmb_fatsievqtyindx" ref="/root/main/acptinfo/judginfo/secondjudg/sec_fatsievqtyindx" appearance="minimal" style="left:504px; top:139px; width:251px; height:19px; ">
  1826. <choices>
  1827. <itemset nodeset="/root/init/judginfo/fatsievqtyindxlst/G025">
  1828. <label ref="cdnm"/>
  1829. <value ref="cdid"/>
  1830. </itemset>
  1831. </choices>
  1832. </select1>
  1833. <select1 id="cmb_fatabdmn" ref="/root/main/acptinfo/judginfo/secondjudg/sec_fatabdmn" appearance="minimal" style="left:504px; top:165px; width:251px; height:19px; ">
  1834. <choices>
  1835. <itemset nodeset="/root/init/judginfo/fatabdmnlst/G026">
  1836. <label ref="cdnm"/>
  1837. <value ref="cdid"/>
  1838. </itemset>
  1839. </choices>
  1840. </select1>
  1841. <select id="chk_fatprcp" ref="/root/main/acptinfo/judginfo/secondjudg/sec_fatprcp" overflow="visible" appearance="full" cellspacing="10" cols="2" style="left:504px; top:190px; width:251px; height:60px; border-style:none; ">
  1842. <choices>
  1843. <itemset nodeset="/root/init/judginfo/fatprcplst/G027">
  1844. <label ref="cdnm"/>
  1845. <value ref="cdid"/>
  1846. </itemset>
  1847. </choices>
  1848. </select>
  1849. </case>
  1850. <case id="case_oral">
  1851. <caption id="caption50" class="cell_1" style="left:5px; top:7px; width:55px; height:23px; vertical-align:middle; ">산정금액</caption>
  1852. <input id="ipt_oralestmamt" ref="/root/main/acptinfo/judginfo/oraljudg/oral_estmamt" class="input_search" style="left:63px; top:9px; width:101px; height:19px; "/>
  1853. <caption id="caption51" class="cell_1" style="left:5px; top:31px; width:55px; height:192px; vertical-align:middle; ">판정</caption>
  1854. <line id="line31" class="line_1" style="x1:5px; y1:2px; x2:755px; y2:2px; "/>
  1855. <line id="line32" class="line_3" style="x1:5px; y1:223px; x2:755px; y2:223px; "/>
  1856. <line id="line33" class="line_2" style="x1:5px; y1:30px; x2:755px; y2:30px; "/>
  1857. <select id="chk_oraljudgcd" ref="/root/main/acptinfo/judginfo/oraljudg/oral_judgcd" overflow="visible" appearance="full" cellspacing="200" cols="2" sep="▦" vcellspacing="10" style="left:63px; top:35px; width:690px; height:180px; border-style:none; ">
  1858. <choices>
  1859. <itemset nodeset="/root/init/judginfo/oraljudglst/item">
  1860. <label ref="nm"/>
  1861. <value ref="cd"/>
  1862. </itemset>
  1863. </choices>
  1864. </select>
  1865. <select1 id="cmb_oraljudgdrid" ref="/root/main/acptinfo/judginfo/oraljudg/oral_judgdrid" class="combo" appearance="minimal" style="left:386px; top:9px; width:208px; height:19px; ">
  1866. <choices>
  1867. <itemset nodeset="/root/init/baseinfo/drlst/itemdr">
  1868. <label ref="drnm"/>
  1869. <value ref="drid"/>
  1870. </itemset>
  1871. </choices>
  1872. </select1>
  1873. <input id="ipt_oraljudgdd" ref="/root/main/acptinfo/judginfo/oraljudg/oral_judgdd" class="input_essential" disabled="true" inputtype="date" style="left:225px; top:9px; width:100px; height:19px; "/>
  1874. <caption id="caption65" class="cell_1" style="left:167px; top:7px; width:55px; height:23px; vertical-align:middle; ">판정일자</caption>
  1875. <caption id="caption66" class="cell_1" style="left:328px; top:7px; width:55px; height:23px; vertical-align:middle; ">판정의</caption>
  1876. </case>
  1877. <case id="case_lifehabit">
  1878. <switch id="switch1" style="left:5px; top:25px; width:752px; height:291px; ">
  1879. <case id="case_nosmok" selected="true">
  1880. <caption id="caption67" class="cell_1" style="left:5px; top:7px; width:130px; height:23px; text-align:center; vertical-align:middle; ">흡연</caption>
  1881. <line id="line14" class="line_2" style="x1:5px; y1:31px; x2:745px; y2:31px; "/>
  1882. <line id="line45" class="line_1" style="x1:5px; y1:2px; x2:745px; y2:2px; "/>
  1883. <select1 id="cmb_smok" ref="/root/main/acptinfo/judginfo/lifehabitprcp/smokflag" disabled="true" navindex="2" appearance="minimal" style="left:140px; top:9px; width:235px; height:19px; ">
  1884. <choices>
  1885. <itemset nodeset="/root/init/judginfo/life_smoklst/G077">
  1886. <label ref="cdnm"/>
  1887. <value ref="cdid"/>
  1888. </itemset>
  1889. </choices>
  1890. </select1>
  1891. <caption id="caption68" class="cell_1" style="left:380px; top:7px; width:130px; height:23px; text-align:center; vertical-align:middle; ">니코틴의존</caption>
  1892. <select1 id="cmb_nicodepend" ref="/root/main/acptinfo/judginfo/lifehabitprcp/nicodepend" disabled="true" navindex="3" appearance="minimal" style="left:515px; top:9px; width:230px; height:19px; ">
  1893. <choices>
  1894. <itemset nodeset="/root/init/judginfo/life_nicodependlst/G078">
  1895. <label ref="cdnm"/>
  1896. <value ref="cdid"/>
  1897. </itemset>
  1898. </choices>
  1899. </select1>
  1900. <caption id="caption69" class="cell_1" style="left:5px; top:33px; width:130px; height:23px; text-align:center; vertical-align:middle; ">금연책자숙독</caption>
  1901. <caption id="caption70" class="cell_1" style="left:5px; top:59px; width:130px; height:38px; text-align:center; vertical-align:middle; ">니코틴대체요법</caption>
  1902. <line id="line46" class="line_2" style="x1:5px; y1:57px; x2:745px; y2:57px; "/>
  1903. <caption id="caption71" class="cell_1" style="left:5px; top:100px; width:130px; height:38px; text-align:center; vertical-align:middle; ">금연약물</caption>
  1904. <line id="line47" class="line_2" style="x1:5px; y1:98px; x2:745px; y2:98px; "/>
  1905. <caption id="caption72" class="cell_1" style="left:5px; top:141px; width:130px; height:23px; text-align:center; vertical-align:middle; ">지원서비스</caption>
  1906. <line id="line48" class="line_2" style="x1:5px; y1:139px; x2:745px; y2:139px; "/>
  1907. <caption id="caption73" class="cell_1" style="left:5px; top:167px; width:130px; height:43px; text-align:center; vertical-align:middle; ">기타</caption>
  1908. <line id="line49" class="line_2" style="x1:5px; y1:211px; x2:745px; y2:211px; "/>
  1909. <line id="line50" class="line_2" style="x1:5px; y1:165px; x2:745px; y2:165px; "/>
  1910. <caption id="caption74" class="cell_1" style="left:5px; top:213px; width:130px; height:73px; text-align:center; vertical-align:middle; ">호전가능 질병상태</caption>
  1911. <select1 id="cmb_nosmokbookread" ref="/root/main/acptinfo/judginfo/lifehabitprcp/nosmokbookread" disabled="true" navindex="4" appearance="minimal" style="left:140px; top:35px; width:235px; height:19px; ">
  1912. <choices>
  1913. <itemset nodeset="/root/init/judginfo/life_nosmokbooklst/G079">
  1914. <label ref="cdnm"/>
  1915. <value ref="cdid"/>
  1916. </itemset>
  1917. </choices>
  1918. </select1>
  1919. <textarea id="txt_nicochangeregm" ref="/root/main/acptinfo/judginfo/lifehabitprcp/nicochangeregm" disabled="true" navindex="5" imemode="hangul" style="left:140px; top:60px; width:605px; height:36px; "/>
  1920. <textarea id="txt_nosmokdrug" ref="/root/main/acptinfo/judginfo/lifehabitprcp/nosmokdrug" disabled="true" navindex="6" imemode="hangul" style="left:140px; top:101px; width:605px; height:36px; "/>
  1921. <select1 id="cmb_suppservice" ref="/root/main/acptinfo/judginfo/lifehabitprcp/suppservice" disabled="true" navindex="7" appearance="minimal" style="left:140px; top:143px; width:235px; height:19px; ">
  1922. <choices>
  1923. <itemset nodeset="/root/init/judginfo/life_suppservicelst/G080">
  1924. <label ref="cdnm"/>
  1925. <value ref="cdid"/>
  1926. </itemset>
  1927. </choices>
  1928. </select1>
  1929. <textarea id="txt_suppserviceetc" ref="/root/main/acptinfo/judginfo/lifehabitprcp/suppserviceetc" disabled="true" navindex="8" imemode="hangul" style="left:140px; top:168px; width:605px; height:41px; "/>
  1930. <select id="chk_smokbettersick" ref="/root/main/acptinfo/judginfo/lifehabitprcp/smokbettersick" disabled="true" navindex="9" overflow="visible" appearance="full" cellspacing="20" cols="6" vcellspacing="5" style="left:140px; top:216px; width:100px; height:20px; border-style:none; ">
  1931. <choices>
  1932. <itemset nodeset="/root/init/judginfo/life_smokbettersicklst/G081">
  1933. <label ref="cdnm"/>
  1934. <value ref="cdid"/>
  1935. </itemset>
  1936. </choices>
  1937. </select>
  1938. </case>
  1939. <case id="case_drunk">
  1940. <caption id="caption77" style="left:200px; top:35px; width:452px; height:20px; ">일 동안 금주, 하루 잔 만 일주일 잔 만 휴간일</caption>
  1941. <line id="line51" class="line_2" style="x1:5px; y1:57px; x2:745px; y2:57px; "/>
  1942. <line id="line52" class="line_2" style="x1:5px; y1:31px; x2:745px; y2:31px; "/>
  1943. <caption id="caption75" class="cell_1" style="left:5px; top:7px; width:130px; height:23px; text-align:center; vertical-align:middle; ">음주상태</caption>
  1944. <caption id="caption76" class="cell_1" style="left:5px; top:33px; width:130px; height:23px; text-align:center; vertical-align:middle; ">금주/절주 처방</caption>
  1945. <line id="line53" class="line_1" style="x1:5px; y1:2px; x2:745px; y2:2px; "/>
  1946. <input id="ipt_nodrunkday" ref="/root/main/acptinfo/judginfo/lifehabitprcp/nodrunkday" disabled="true" navindex="11" style="left:141px; top:35px; width:55px; height:19px; "/>
  1947. <select1 id="cmb_drunkstat" ref="/root/main/acptinfo/judginfo/lifehabitprcp/drunkstat" disabled="true" navindex="10" appearance="minimal" style="left:140px; top:9px; width:235px; height:19px; ">
  1948. <choices>
  1949. <itemset nodeset="/root/init/judginfo/life_drunkstatlst/G082">
  1950. <label ref="cdnm"/>
  1951. <value ref="cdid"/>
  1952. </itemset>
  1953. </choices>
  1954. </select1>
  1955. <input id="ipt_daydrunkcnt" ref="/root/main/acptinfo/judginfo/lifehabitprcp/daydrunkcnt" disabled="true" navindex="12" style="left:308px; top:35px; width:55px; height:19px; "/>
  1956. <input id="ipt_weekdrunkcnt" ref="/root/main/acptinfo/judginfo/lifehabitprcp/weekdrunkcnt" disabled="true" navindex="13" style="left:445px; top:35px; width:55px; height:19px; "/>
  1957. <input id="ipt_drunkrestday" ref="/root/main/acptinfo/judginfo/lifehabitprcp/drunkrestday" disabled="true" navindex="14" style="left:545px; top:35px; width:55px; height:19px; "/>
  1958. <line id="line54" class="line_2" style="x1:5px; y1:83px; x2:745px; y2:83px; "/>
  1959. <select1 id="cmb_drunkdiary" ref="/root/main/acptinfo/judginfo/lifehabitprcp/drunkdiary" disabled="true" navindex="15" appearance="minimal" style="left:140px; top:61px; width:235px; height:19px; ">
  1960. <choices>
  1961. <itemset nodeset="/root/init/judginfo/life_drunkdiarylst/G083">
  1962. <label ref="cdnm"/>
  1963. <value ref="cdid"/>
  1964. </itemset>
  1965. </choices>
  1966. </select1>
  1967. <select1 id="cmb_nodrunkbook" ref="/root/main/acptinfo/judginfo/lifehabitprcp/nodrunkbook" disabled="true" navindex="16" appearance="minimal" style="left:515px; top:61px; width:230px; height:19px; ">
  1968. <choices>
  1969. <itemset nodeset="/root/init/judginfo/life_nodrunkbooklst/G084">
  1970. <label ref="cdnm"/>
  1971. <value ref="cdid"/>
  1972. </itemset>
  1973. </choices>
  1974. </select1>
  1975. <caption id="caption81" class="cell_1" style="left:5px; top:59px; width:130px; height:23px; text-align:center; vertical-align:middle; ">음주일기</caption>
  1976. <caption id="caption82" class="cell_1" style="left:380px; top:59px; width:130px; height:23px; text-align:center; vertical-align:middle; ">금주책자</caption>
  1977. <caption id="caption83" class="cell_1" style="left:5px; top:85px; width:130px; height:52px; text-align:center; vertical-align:middle; ">약물</caption>
  1978. <caption id="caption84" class="cell_1" style="left:5px; top:140px; width:130px; height:58px; text-align:center; vertical-align:middle; ">기타</caption>
  1979. <line id="line55" class="line_2" style="x1:5px; y1:138px; x2:745px; y2:138px; "/>
  1980. <line id="line56" class="line_2" style="x1:5px; y1:199px; x2:745px; y2:199px; "/>
  1981. <textarea id="txt_drunkdrug" ref="/root/main/acptinfo/judginfo/lifehabitprcp/drunkdrug" disabled="true" navindex="17" imemode="hangul" style="left:140px; top:86px; width:605px; height:50px; "/>
  1982. <textarea id="txt_drunketc" ref="/root/main/acptinfo/judginfo/lifehabitprcp/drunketc" disabled="true" navindex="18" imemode="hangul" style="left:140px; top:141px; width:605px; height:56px; "/>
  1983. <select id="chk_drunkbettersick" ref="/root/main/acptinfo/judginfo/lifehabitprcp/drunkbettersick" disabled="true" navindex="19" overflow="visible" appearance="full" cellspacing="20" cols="6" vcellspacing="5" style="left:140px; top:204px; width:100px; height:20px; border-style:none; ">
  1984. <choices>
  1985. <itemset nodeset="/root/init/judginfo/life_nodrunkbettersicklst/G085">
  1986. <label ref="cdnm"/>
  1987. <value ref="cdid"/>
  1988. </itemset>
  1989. </choices>
  1990. </select>
  1991. <caption id="caption85" class="cell_1" style="left:5px; top:201px; width:130px; height:83px; text-align:center; vertical-align:middle; ">호전가능 질병상태</caption>
  1992. </case>
  1993. <case id="case_exer">
  1994. <caption id="caption86" class="cell_1" style="left:5px; top:7px; width:130px; height:23px; text-align:center; vertical-align:middle; ">운동수준</caption>
  1995. <select1 id="cmb_exergrade" ref="/root/main/acptinfo/judginfo/lifehabitprcp/exergrade" disabled="true" navindex="20" appearance="minimal" style="left:140px; top:9px; width:235px; height:19px; ">
  1996. <choices>
  1997. <itemset nodeset="/root/init/judginfo/life_exergradelst/G086">
  1998. <label ref="cdnm"/>
  1999. <value ref="cdid"/>
  2000. </itemset>
  2001. </choices>
  2002. </select1>
  2003. <line id="line57" class="line_2" style="x1:5px; y1:31px; x2:745px; y2:31px; "/>
  2004. <line id="line58" class="line_1" style="x1:5px; y1:2px; x2:745px; y2:2px; "/>
  2005. <line id="line59" class="line_2" style="x1:5px; y1:82px; x2:745px; y2:82px; "/>
  2006. <caption id="caption87" class="cell_1" style="left:5px; top:33px; width:130px; height:48px; text-align:center; vertical-align:middle; ">운동종류</caption>
  2007. <caption id="caption88" class="cell_1" style="left:5px; top:84px; width:130px; height:23px; text-align:center; vertical-align:middle; ">기타</caption>
  2008. <select id="chk_exerkind" ref="/root/main/acptinfo/judginfo/lifehabitprcp/exerkind" disabled="true" navindex="21" overflow="visible" appearance="full" cellspacing="20" cols="6" vcellspacing="5" style="left:140px; top:35px; width:100px; height:20px; border-style:none; ">
  2009. <choices>
  2010. <itemset nodeset="/root/init/judginfo/life_exerkindlst/G087">
  2011. <label ref="cdnm"/>
  2012. <value ref="cdid"/>
  2013. </itemset>
  2014. </choices>
  2015. </select>
  2016. <line id="line60" class="line_2" style="x1:5px; y1:108px; x2:745px; y2:108px; "/>
  2017. <caption id="caption89" class="cell_1" style="left:5px; top:110px; width:130px; height:23px; text-align:center; vertical-align:middle; ">운동시간</caption>
  2018. <line id="line61" class="line_2" style="x1:5px; y1:134px; x2:745px; y2:134px; "/>
  2019. <select1 id="cmb_exertime" ref="/root/main/acptinfo/judginfo/lifehabitprcp/exertime" disabled="true" navindex="23" appearance="minimal" style="left:140px; top:112px; width:125px; height:19px; ">
  2020. <choices>
  2021. <itemset nodeset="/root/init/judginfo/life_exertimelst/G088">
  2022. <label ref="cdnm"/>
  2023. <value ref="cdid"/>
  2024. </itemset>
  2025. </choices>
  2026. </select1>
  2027. <caption id="caption91" class="cell_1" style="left:5px; top:136px; width:130px; height:23px; text-align:center; vertical-align:middle; ">운동횟수</caption>
  2028. <select1 id="cmb_exercnt" ref="/root/main/acptinfo/judginfo/lifehabitprcp/exercnt" disabled="true" navindex="25" appearance="minimal" style="left:140px; top:138px; width:235px; height:19px; ">
  2029. <choices>
  2030. <itemset nodeset="/root/init/judginfo/life_exercountlst/G089">
  2031. <label ref="cdnm"/>
  2032. <value ref="cdid"/>
  2033. </itemset>
  2034. </choices>
  2035. </select1>
  2036. <line id="line63" class="line_2" style="x1:5px; y1:160px; x2:745px; y2:160px; "/>
  2037. <select id="chk_exerbettersick" ref="/root/main/acptinfo/judginfo/lifehabitprcp/exerbettersick" disabled="true" navindex="26" overflow="visible" appearance="full" cellspacing="20" cols="6" vcellspacing="5" style="left:140px; top:165px; width:100px; height:20px; border-style:none; ">
  2038. <choices>
  2039. <itemset nodeset="/root/init/judginfo/life_exerbettersicklst/G090">
  2040. <label ref="cdnm"/>
  2041. <value ref="cdid"/>
  2042. </itemset>
  2043. </choices>
  2044. </select>
  2045. <caption id="caption92" class="cell_1" style="left:5px; top:162px; width:130px; height:58px; text-align:center; vertical-align:middle; ">호전가능 질병상태</caption>
  2046. <textarea id="txt_exerkindetc" ref="/root/main/acptinfo/judginfo/lifehabitprcp/exerkindetc" disabled="true" navindex="22" style="left:140px; top:85px; width:605px; height:20px; "/>
  2047. <textarea id="txt_exertimeetc" ref="/root/main/acptinfo/judginfo/lifehabitprcp/exertimeetc" disabled="true" navindex="24" style="left:319px; top:111px; width:426px; height:21px; "/>
  2048. <caption id="caption93" class="cell_1" style="left:270px; top:110px; width:45px; height:23px; text-align:center; vertical-align:middle; ">기타</caption>
  2049. <line id="line62" class="line_2" style="x1:5px; y1:221px; x2:745px; y2:221px; "/>
  2050. <textarea id="txt_exerbettersicketc" ref="/root/main/acptinfo/judginfo/lifehabitprcp/exerbettersicketc" disabled="true" navindex="27" imemode="hangul" style="left:140px; top:224px; width:605px; height:20px; "/>
  2051. <caption id="caption90" class="cell_1" style="left:5px; top:223px; width:130px; height:23px; text-align:center; vertical-align:middle; ">기타</caption>
  2052. <line id="line64" class="line_2" style="x1:5px; y1:247px; x2:745px; y2:247px; "/>
  2053. <caption id="caption94" class="cell_1" style="left:5px; top:249px; width:130px; height:37px; text-align:center; vertical-align:middle; ">의뢰</caption>
  2054. <textarea id="txt_exerreq" ref="/root/main/acptinfo/judginfo/lifehabitprcp/exerreq" disabled="true" navindex="28" imemode="hangul" style="left:140px; top:250px; width:605px; height:35px; "/>
  2055. </case>
  2056. <case id="case_nutrition">
  2057. <caption id="caption95" class="cell_1" style="left:5px; top:7px; width:130px; height:23px; text-align:center; vertical-align:middle; ">식생활습관</caption>
  2058. <select id="chk_ntrhabitbetterprcp" ref="/root/main/acptinfo/judginfo/lifehabitprcp/ntrhabitbetterprcp" disabled="true" navindex="30" overflow="visible" appearance="full" cellspacing="20" cols="5" vcellspacing="5" style="left:140px; top:35px; width:100px; height:20px; border-style:none; ">
  2059. <choices>
  2060. <itemset nodeset="/root/init/judginfo/life_eatlifebetterprcplst/G092">
  2061. <label ref="cdnm"/>
  2062. <value ref="cdid"/>
  2063. </itemset>
  2064. </choices>
  2065. </select>
  2066. <caption id="caption96" class="cell_1" style="left:5px; top:33px; width:130px; height:68px; text-align:center; vertical-align:middle; ">식생활습관 개선처방</caption>
  2067. <line id="line65" class="line_2" style="x1:5px; y1:31px; x2:745px; y2:31px; "/>
  2068. <line id="line66" class="line_1" style="x1:5px; y1:2px; x2:745px; y2:2px; "/>
  2069. <line id="line67" class="line_2" style="x1:5px; y1:102px; x2:745px; y2:102px; "/>
  2070. <select1 id="cmb_ntrhabit" ref="/root/main/acptinfo/judginfo/lifehabitprcp/ntrhabit" disabled="true" navindex="29" appearance="minimal" style="left:140px; top:9px; width:235px; height:19px; ">
  2071. <choices>
  2072. <itemset nodeset="/root/init/judginfo/life_eatlifehabitlst/G091">
  2073. <label ref="cdnm"/>
  2074. <value ref="cdid"/>
  2075. </itemset>
  2076. </choices>
  2077. </select1>
  2078. <caption id="caption97" class="cell_1" style="left:5px; top:104px; width:130px; height:68px; text-align:center; vertical-align:middle; ">호전가능 질병상태</caption>
  2079. <line id="line68" class="line_2" style="x1:5px; y1:173px; x2:745px; y2:173px; "/>
  2080. <select id="chk_ntrbettersick" ref="/root/main/acptinfo/judginfo/lifehabitprcp/ntrbettersick" disabled="true" navindex="31" overflow="visible" appearance="full" cellspacing="20" cols="6" vcellspacing="5" style="left:140px; top:106px; width:100px; height:20px; border-style:none; ">
  2081. <choices>
  2082. <itemset nodeset="/root/init/judginfo/life_nutrbettersicklst/G093">
  2083. <label ref="cdnm"/>
  2084. <value ref="cdid"/>
  2085. </itemset>
  2086. </choices>
  2087. </select>
  2088. <caption id="caption98" class="cell_1" style="left:5px; top:175px; width:130px; height:42px; text-align:center; vertical-align:middle; ">기타</caption>
  2089. <caption id="caption99" class="cell_1" style="left:5px; top:220px; width:130px; height:63px; text-align:center; vertical-align:middle; ">의뢰</caption>
  2090. <line id="line69" class="line_2" style="x1:5px; y1:218px; x2:745px; y2:218px; "/>
  2091. <textarea id="txt_ntrbettersicketc" ref="/root/main/acptinfo/judginfo/lifehabitprcp/ntrbettersicketc" disabled="true" navindex="32" imemode="hangul" style="left:140px; top:176px; width:605px; height:40px; "/>
  2092. <textarea id="txt_ntrreq" ref="/root/main/acptinfo/judginfo/lifehabitprcp/ntrreq" navindex="33" imemode="hangul" style="left:140px; top:221px; width:605px; height:61px; "/>
  2093. </case>
  2094. <case id="case_fat">
  2095. <caption id="caption79" style="left:200px; top:36px; width:357px; height:20px; ">%까지 낮춤 Kg목표 개월 Kg감량</caption>
  2096. <caption id="caption100" class="cell_1" style="left:5px; top:7px; width:40px; height:23px; text-align:center; vertical-align:middle; ">체중</caption>
  2097. <line id="line70" class="line_2" style="x1:5px; y1:31px; x2:745px; y2:31px; "/>
  2098. <line id="line71" class="line_1" style="x1:5px; y1:2px; x2:745px; y2:2px; "/>
  2099. <select1 id="cmb_bodyweight" ref="/root/main/acptinfo/judginfo/lifehabitprcp/bodyweight" disabled="true" navindex="34" appearance="minimal" style="left:48px; top:9px; width:195px; height:19px; ">
  2100. <choices>
  2101. <itemset nodeset="/root/init/judginfo/life_bodyweightlst/G094">
  2102. <label ref="cdnm"/>
  2103. <value ref="cdid"/>
  2104. </itemset>
  2105. </choices>
  2106. </select1>
  2107. <select1 id="cmb_fatstat" ref="/root/main/acptinfo/judginfo/lifehabitprcp/fatstat" disabled="true" navindex="35" appearance="minimal" style="left:289px; top:9px; width:175px; height:19px; ">
  2108. <choices>
  2109. <itemset nodeset="/root/init/judginfo/life_fatlst/G095">
  2110. <label ref="cdnm"/>
  2111. <value ref="cdid"/>
  2112. </itemset>
  2113. </choices>
  2114. </select1>
  2115. <caption id="caption101" class="cell_1" style="left:246px; top:7px; width:40px; height:23px; text-align:center; vertical-align:middle; ">비만</caption>
  2116. <select1 id="cmb_sickoccurgrade" ref="/root/main/acptinfo/judginfo/lifehabitprcp/sickoccurgrade" disabled="true" navindex="36" appearance="minimal" style="left:555px; top:9px; width:190px; height:19px; ">
  2117. <choices>
  2118. <itemset nodeset="/root/init/judginfo/life_sickoccurgradelst/G096">
  2119. <label ref="cdnm"/>
  2120. <value ref="cdid"/>
  2121. </itemset>
  2122. </choices>
  2123. </select1>
  2124. <caption id="caption102" class="cell_1" style="left:467px; top:8px; width:85px; height:23px; text-align:center; vertical-align:middle; ">질환발생위험</caption>
  2125. <caption id="caption103" class="cell_1" style="left:5px; top:33px; width:130px; height:23px; text-align:center; vertical-align:middle; ">목표체중</caption>
  2126. <line id="line73" class="line_2" style="x1:5px; y1:57px; x2:745px; y2:57px; "/>
  2127. <line id="line74" class="line_2" style="x1:5px; y1:108px; x2:745px; y2:108px; "/>
  2128. <caption id="caption104" class="cell_1" style="left:5px; top:59px; width:130px; height:48px; text-align:center; vertical-align:middle; ">비만처방</caption>
  2129. <select id="chk_lifefatprcp" ref="/root/main/acptinfo/judginfo/lifehabitprcp/fatprcp" disabled="true" navindex="41" overflow="visible" appearance="full" cellspacing="20" cols="5" vcellspacing="5" style="left:140px; top:59px; width:100px; height:20px; border-style:none; ">
  2130. <choices>
  2131. <itemset nodeset="/root/init/judginfo/life_fatprcplst/G097">
  2132. <label ref="cdnm"/>
  2133. <value ref="cdid"/>
  2134. </itemset>
  2135. </choices>
  2136. </select>
  2137. <line id="line75" class="line_2" style="x1:5px; y1:134px; x2:745px; y2:134px; "/>
  2138. <caption id="caption105" class="cell_1" style="left:5px; top:110px; width:130px; height:23px; text-align:center; vertical-align:middle; ">약물치료</caption>
  2139. <line id="line76" class="line_2" style="x1:5px; y1:160px; x2:745px; y2:160px; "/>
  2140. <caption id="caption106" class="cell_1" style="left:5px; top:136px; width:130px; height:23px; text-align:center; vertical-align:middle; ">기타</caption>
  2141. <line id="line77" class="line_2" style="x1:5px; y1:231px; x2:745px; y2:231px; "/>
  2142. <caption id="caption107" class="cell_1" style="left:5px; top:162px; width:130px; height:68px; text-align:center; vertical-align:middle; ">호전가능 질병상태</caption>
  2143. <line id="line72" class="line_2" style="x1:5px; y1:257px; x2:745px; y2:257px; "/>
  2144. <caption id="caption108" class="cell_1" style="left:5px; top:233px; width:130px; height:23px; text-align:center; vertical-align:middle; ">기타</caption>
  2145. <caption id="caption109" class="cell_1" style="left:5px; top:259px; width:130px; height:27px; text-align:center; vertical-align:middle; ">의뢰</caption>
  2146. <textarea id="txt_fatprcpetc" ref="/root/main/acptinfo/judginfo/lifehabitprcp/fatprcpetc" disabled="true" navindex="43" imemode="hangul" style="left:140px; top:136px; width:605px; height:23px; "/>
  2147. <textarea id="txt_fatbettersicketc" ref="/root/main/acptinfo/judginfo/lifehabitprcp/fatbettersicketc" disabled="true" navindex="45" imemode="hangul" style="left:140px; top:233px; width:605px; height:23px; "/>
  2148. <textarea id="txt_fatreq" ref="/root/main/acptinfo/judginfo/lifehabitprcp/fatreq" disabled="true" navindex="46" imemode="hangul" style="left:140px; top:259px; width:605px; height:27px; "/>
  2149. <select id="chk_fatbettersick" ref="/root/main/acptinfo/judginfo/lifehabitprcp/fatbettersick" disabled="true" navindex="44" overflow="visible" appearance="full" cellspacing="20" cols="5" vcellspacing="5" style="left:140px; top:162px; width:100px; height:20px; border-style:none; ">
  2150. <choices>
  2151. <itemset nodeset="/root/init/judginfo/life_fatbettersicklst/G098">
  2152. <label ref="cdnm"/>
  2153. <value ref="cdid"/>
  2154. </itemset>
  2155. </choices>
  2156. </select>
  2157. <input id="ipt_eduweightper" ref="/root/main/acptinfo/judginfo/lifehabitprcp/reduweightper" disabled="true" navindex="37" style="left:140px; top:35px; width:55px; height:19px; "/>
  2158. <input id="ipt_goalweight" ref="/root/main/acptinfo/judginfo/lifehabitprcp/goalweight" disabled="true" navindex="38" style="left:278px; top:35px; width:55px; height:19px; "/>
  2159. <input id="ipt_goalmonth" ref="/root/main/acptinfo/judginfo/lifehabitprcp/goalmonth" disabled="true" navindex="39" style="left:383px; top:35px; width:45px; height:19px; "/>
  2160. <input id="ipt_reduweight" ref="/root/main/acptinfo/judginfo/lifehabitprcp/reduweight" disabled="true" navindex="40" style="left:465px; top:35px; width:50px; height:19px; "/>
  2161. <textarea id="txt_fatdrugcure" ref="/root/main/acptinfo/judginfo/lifehabitprcp/fatdrugcure" disabled="true" navindex="42" imemode="hangul" style="left:140px; top:111px; width:605px; height:23px; "/>
  2162. </case>
  2163. </switch>
  2164. <button id="btn_nosmok" class="btn_sw" group="tab_life" selected="true" style="left:5px; top:5px; width:104px; height:22px; ">
  2165. <caption>금연 처방전</caption>
  2166. <toggle case="case_nosmok" ev:event="onclick"/>
  2167. </button>
  2168. <button id="btn_drunk" class="btn_sw" group="tab_life" selected="false" style="left:109px; top:5px; width:138px; height:22px; ">
  2169. <caption>음주/절주 처방전</caption>
  2170. <toggle case="case_drunk" ev:event="onclick"/>
  2171. </button>
  2172. <button id="btn_exer" class="btn_sw" group="tab_life" selected="false" style="left:247px; top:5px; width:109px; height:22px; ">
  2173. <caption>운동 처방전</caption>
  2174. <toggle case="case_exer" ev:event="onclick"/>
  2175. </button>
  2176. <button id="btn_nutrition" class="btn_sw" group="tab_life" selected="false" style="left:356px; top:5px; width:114px; height:22px; ">
  2177. <caption>영양 처방전</caption>
  2178. <toggle case="case_nutrition" ev:event="onclick"/>
  2179. </button>
  2180. <button id="btn_fat" class="btn_sw" group="tab_life" selected="false" style="left:470px; top:5px; width:109px; height:22px; ">
  2181. <caption>비만 처방전</caption>
  2182. <toggle case="case_fat" ev:event="onclick"/>
  2183. </button>
  2184. <caption id="caption64" class="cell_1" style="left:595px; top:2px; width:45px; height:23px; text-align:center; vertical-align:middle; ">전문의</caption>
  2185. <select1 id="cmb_atdoct" ref="/root/main/acptinfo/judginfo/lifehabitprcp/atdoct" class="combo" navindex="1" appearance="minimal" style="left:642px; top:4px; width:113px; height:19px; ">
  2186. <choices>
  2187. <itemset nodeset="/root/init/baseinfo/drlst/itemdr">
  2188. <label ref="drnm"/>
  2189. <value ref="drid"/>
  2190. </itemset>
  2191. </choices>
  2192. </select1>
  2193. <bool id="bool_nosmok" checkvalue="Y,N" ref="/root/main/acptinfo/judginfo/lifehabitprcp/nosmokuseyn" style="left:4px; top:7px; width:25px; height:20px; ">
  2194. <script type="javascript" ev:event="xforms-value-changed">
  2195. <![CDATA[
  2196. var activeStat = fGetActiveStat(bool_nosmok.value);
  2197. chk_smokbettersick.disabled = !activeStat;
  2198. txt_suppserviceetc.disabled = !activeStat;
  2199. cmb_suppservice.disabled = !activeStat;
  2200. txt_nosmokdrug.disabled = !activeStat;
  2201. txt_nicochangeregm.disabled = !activeStat;
  2202. cmb_nosmokbookread.disabled = !activeStat;
  2203. cmb_nicodepend.disabled = !activeStat;
  2204. cmb_smok.disabled = !activeStat;
  2205. if(!activeStat) {
  2206. model.resetInstanceNode(chk_smokbettersick.attribute("ref"));
  2207. model.resetInstanceNode(txt_suppserviceetc.attribute("ref"));
  2208. model.resetInstanceNode(cmb_suppservice.attribute("ref"));
  2209. model.resetInstanceNode(txt_nosmokdrug.attribute("ref"));
  2210. model.resetInstanceNode(txt_nicochangeregm.attribute("ref"));
  2211. model.resetInstanceNode(cmb_nosmokbookread.attribute("ref"));
  2212. model.resetInstanceNode(cmb_nicodepend.attribute("ref"));
  2213. model.resetInstanceNode(cmb_smok.attribute("ref"));
  2214. }
  2215. model.refresh();
  2216. ]]>
  2217. </script>
  2218. </bool>
  2219. <bool id="bool_nodrunk" checkvalue="Y,N" ref="/root/main/acptinfo/judginfo/lifehabitprcp/nodrunkuseyn" style="left:110px; top:7px; width:25px; height:20px; ">
  2220. <script type="javascript" ev:event="xforms-value-changed">
  2221. <![CDATA[
  2222. var activeStat = fGetActiveStat(bool_nodrunk.value);
  2223. chk_drunkbettersick.disabled = !activeStat;
  2224. txt_drunketc.disabled = !activeStat;
  2225. txt_drunkdrug.disabled = !activeStat;
  2226. cmb_nodrunkbook.disabled = !activeStat;
  2227. cmb_drunkdiary.disabled = !activeStat;
  2228. ipt_drunkrestday.disabled = !activeStat;
  2229. ipt_weekdrunkcnt.disabled = !activeStat;
  2230. ipt_daydrunkcnt.disabled = !activeStat;
  2231. ipt_nodrunkday.disabled = !activeStat;
  2232. cmb_drunkstat.disabled = !activeStat;
  2233. if(!activeStat) {
  2234. model.resetInstanceNode(chk_drunkbettersick.attribute("ref"));
  2235. model.resetInstanceNode(txt_drunketc.attribute("ref"));
  2236. model.resetInstanceNode(txt_drunkdrug.attribute("ref"));
  2237. model.resetInstanceNode(cmb_nodrunkbook.attribute("ref"));
  2238. model.resetInstanceNode(cmb_drunkdiary.attribute("ref"));
  2239. model.resetInstanceNode(ipt_drunkrestday.attribute("ref"));
  2240. model.resetInstanceNode(ipt_weekdrunkcnt.attribute("ref"));
  2241. model.resetInstanceNode(ipt_daydrunkcnt.attribute("ref"));
  2242. model.resetInstanceNode(ipt_nodrunkday.attribute("ref"));
  2243. model.resetInstanceNode(cmb_drunkstat.attribute("ref"));
  2244. }
  2245. model.refresh();
  2246. ]]>
  2247. </script>
  2248. </bool>
  2249. <bool id="bool_exer" checkvalue="Y,N" ref="/root/main/acptinfo/judginfo/lifehabitprcp/exeruseyn" style="left:249px; top:7px; width:25px; height:20px; ">
  2250. <script type="javascript" ev:event="xforms-value-changed">
  2251. <![CDATA[
  2252. var activeStat = fGetActiveStat(bool_exer.value);
  2253. cmb_exergrade.disabled = !activeStat;
  2254. chk_exerkind.disabled = !activeStat;
  2255. txt_exerkindetc.disabled = !activeStat;
  2256. cmb_exertime.disabled = !activeStat;
  2257. txt_exertimeetc.disabled = !activeStat;
  2258. cmb_exercnt.disabled = !activeStat;
  2259. chk_exerbettersick.disabled = !activeStat;
  2260. txt_exerbettersicketc.disabled = !activeStat;
  2261. txt_exerreq.disabled = !activeStat;
  2262. if(!activeStat) {
  2263. model.resetInstanceNode(cmb_exergrade.attribute("ref"));
  2264. model.resetInstanceNode(chk_exerkind.attribute("ref"));
  2265. model.resetInstanceNode(txt_exerkindetc.attribute("ref"));
  2266. model.resetInstanceNode(cmb_exertime.attribute("ref"));
  2267. model.resetInstanceNode(txt_exertimeetc.attribute("ref"));
  2268. model.resetInstanceNode(cmb_exercnt.attribute("ref"));
  2269. model.resetInstanceNode(chk_exerbettersick.attribute("ref"));
  2270. model.resetInstanceNode(txt_exerbettersicketc.attribute("ref"));
  2271. model.resetInstanceNode(txt_exerreq.attribute("ref"));
  2272. }
  2273. model.refresh();
  2274. ]]>
  2275. </script>
  2276. </bool>
  2277. <bool id="bool_nutrition" checkvalue="Y,N" ref="/root/main/acptinfo/judginfo/lifehabitprcp/nutritionuseyn" style="left:358px; top:7px; width:25px; height:20px; ">
  2278. <script type="javascript" ev:event="xforms-value-changed">
  2279. <![CDATA[
  2280. var activeStat = fGetActiveStat(bool_nutrition.value);
  2281. cmb_ntrhabit.disabled = !activeStat;
  2282. chk_ntrhabitbetterprcp.disabled = !activeStat;
  2283. chk_ntrbettersick.disabled = !activeStat;
  2284. txt_ntrbettersicketc.disabled = !activeStat;
  2285. txt_ntrreq.disabled = !activeStat;
  2286. if(!activeStat) {
  2287. model.resetInstanceNode(cmb_ntrhabit.attribute("ref"));
  2288. model.resetInstanceNode(chk_ntrhabitbetterprcp.attribute("ref"));
  2289. model.resetInstanceNode(chk_ntrbettersick.attribute("ref"));
  2290. model.resetInstanceNode(txt_ntrbettersicketc.attribute("ref"));
  2291. model.resetInstanceNode(txt_ntrreq.attribute("ref"));
  2292. }
  2293. model.refresh();
  2294. ]]>
  2295. </script>
  2296. </bool>
  2297. <bool id="bool_fat" checkvalue="Y,N" ref="/root/main/acptinfo/judginfo/lifehabitprcp/fatuseyn" style="left:471px; top:7px; width:25px; height:20px; ">
  2298. <script type="javascript" ev:event="xforms-value-changed">
  2299. <![CDATA[
  2300. var activeStat = fGetActiveStat(bool_fat.value);
  2301. cmb_bodyweight.disabled = !activeStat;
  2302. cmb_fatstat.disabled = !activeStat;
  2303. cmb_sickoccurgrade.disabled = !activeStat;
  2304. ipt_eduweightper.disabled = !activeStat;
  2305. ipt_goalweight.disabled = !activeStat;
  2306. ipt_goalmonth.disabled = !activeStat;
  2307. ipt_reduweight.disabled = !activeStat;
  2308. chk_lifefatprcp.disabled = !activeStat;
  2309. txt_fatdrugcure.disabled = !activeStat;
  2310. txt_fatprcpetc.disabled = !activeStat;
  2311. chk_fatbettersick.disabled = !activeStat;
  2312. txt_fatbettersicketc.disabled = !activeStat;
  2313. txt_fatreq.disabled = !activeStat;
  2314. if(!activeStat) {
  2315. model.resetInstanceNode(cmb_bodyweight.attribute("ref"));
  2316. model.resetInstanceNode(cmb_fatstat.attribute("ref"));
  2317. model.resetInstanceNode(cmb_sickoccurgrade.attribute("ref"));
  2318. model.resetInstanceNode(ipt_eduweightper.attribute("ref"));
  2319. model.resetInstanceNode(ipt_goalweight.attribute("ref"));
  2320. model.resetInstanceNode(ipt_goalmonth.attribute("ref"));
  2321. model.resetInstanceNode(ipt_reduweight.attribute("ref"));
  2322. model.resetInstanceNode(chk_lifefatprcp.attribute("ref"));
  2323. model.resetInstanceNode(txt_fatdrugcure.attribute("ref"));
  2324. model.resetInstanceNode(txt_fatprcpetc.attribute("ref"));
  2325. model.resetInstanceNode(chk_fatbettersick.attribute("ref"));
  2326. model.resetInstanceNode(txt_fatbettersicketc.attribute("ref"));
  2327. model.resetInstanceNode(txt_fatreq.attribute("ref"));
  2328. }
  2329. model.refresh();
  2330. ]]>
  2331. </script>
  2332. </bool>
  2333. </case>
  2334. <case id="case_etc">
  2335. <input id="ipt_etcjudgdd" ref="/root/main/acptinfo/judginfo/etcjudg/etc_judgdd" class="input_essential" disabled="true" inputtype="date" style="left:138px; top:8px; width:110px; height:19px; "/>
  2336. <caption id="caption78" class="cell_1" style="left:5px; top:32px; width:130px; height:283px; text-align:left; vertical-align:middle; "/>
  2337. <caption id="caption80" class="cell_1" style="left:250px; top:6px; width:130px; height:23px; text-align:center; vertical-align:middle; ">판정의</caption>
  2338. <select1 id="cmb_etcjudgdrid" ref="/root/main/acptinfo/judginfo/etcjudg/etc_judgdrid" class="combo" appearance="minimal" style="left:382px; top:8px; width:123px; height:19px; ">
  2339. <choices>
  2340. <itemset nodeset="/root/init/baseinfo/drlst/itemdr">
  2341. <label ref="drnm"/>
  2342. <value ref="drid"/>
  2343. </itemset>
  2344. </choices>
  2345. </select1>
  2346. <caption id="caption110" class="cell_1" style="left:5px; top:6px; width:130px; height:23px; text-align:center; vertical-align:middle; ">판정일자</caption>
  2347. <button id="button6" class="btn2_letter8" style="left:15px; top:157px; width:108px; height:19px; ">
  2348. <caption>소견 및 조치사항</caption>
  2349. <script type="javascript" ev:event="DOMActivate">
  2350. <![CDATA[
  2351. fGetJudgExmpCnts(tar_etcjudgcnts,"G0111");
  2352. ]]>
  2353. </script>
  2354. </button>
  2355. <line id="line78" class="line_2" style="x1:5px; y1:30px; x2:758px; y2:30px; "/>
  2356. <line id="line79" class="line_2" style="x1:5px; y1:4px; x2:758px; y2:4px; "/>
  2357. <textarea id="tar_etcjudgcnts" ref="/root/main/acptinfo/judginfo/etcjudg/etc_judgexamcnts" style="left:138px; top:33px; width:619px; height:283px; "/>
  2358. </case>
  2359. <case id="case_tot">
  2360. <textarea id="tar_totjudgexamcnts" ref="/root/main/acptinfo/judginfo/totjudg/totcmtcnts" style="left:138px; top:6px; width:619px; height:310px; "/>
  2361. <caption id="caption111" class="cell_1" style="left:5px; top:6px; width:130px; height:310px; text-align:center; vertical-align:middle; ">종합 소견</caption>
  2362. </case>
  2363. </switch>
  2364. <button id="btn_fstjudg" class="btn_sw" group="tab" selected="true" style="left:5px; top:219px; width:80px; height:22px; ">
  2365. <caption>1차판정</caption>
  2366. <toggle case="case_first" ev:event="onclick"/>
  2367. </button>
  2368. <button id="button2" class="btn_sw" visibility="hidden" group="tab" style="left:85px; top:219px; width:75px; height:22px; ">
  2369. <caption>2차판정</caption>
  2370. <toggle case="case_second" ev:event="onclick"/>
  2371. </button>
  2372. <button id="btn_lifehabit" class="btn_sw" visibility="hidden" group="tab" style="left:235px; top:219px; width:145px; height:22px; ">
  2373. <caption>생활습관처방전(생애2차)</caption>
  2374. <toggle case="case_lifehabit" ev:event="onclick"/>
  2375. </button>
  2376. <button id="btn_lifejudg" class="btn_sw" visibility="hidden" group="tab" style="left:160px; top:219px; width:75px; height:22px; ">
  2377. <caption>생활판정</caption>
  2378. <toggle case="case_lifejudg" ev:event="onclick"/>
  2379. </button>
  2380. <button id="btn_autojudg" class="btn2_letter4" visibility="hidden" style="left:432px; top:220px; width:64px; height:19px; ">
  2381. <caption>자동판정</caption>
  2382. <script type="javascript" ev:event="DOMActivate">
  2383. <![CDATA[
  2384. var ret = false;
  2385. if (model.getValue(cmb_fstjudgdrid.attribute("ref") ) == "" ) {
  2386. messageBox("판정의를 ", "C001");
  2387. return ret;
  2388. }
  2389. model.makeValue("/root/send/save/healexamflag","G");
  2390. model.makeValue("/root/main/acptinfo/judginfo/firstjudg/fst_judgcd","1");
  2391. fInitSaveData();
  2392. fCheckSaveInfo();
  2393. // fSaveJudg(true);
  2394. // model.makeValue("/root/send/save/dgflag",model.getValue("/root/send/dgflag"));
  2395. model.makeNode("/root/send/save/saveautojudg/fst_rsltlst");
  2396. model.setValue("/root/send/save/saveautojudg/fst_rsltlst", grd_rsltlst.getUpdateDataAll("i") );
  2397. submit("TXAHB02402");
  2398. fGetJudgInfo();
  2399. ]]>
  2400. </script>
  2401. </button>
  2402. <button id="button4" class="btn2_letter6" visibility="hidden" style="left:503px; top:220px; width:86px; height:19px; ">
  2403. <caption>자동판정 설정</caption>
  2404. <script type="javascript" ev:event="DOMActivate">
  2405. <![CDATA[
  2406. modal("SMAHA03210");
  2407. ]]>
  2408. </script>
  2409. </button>
  2410. <button id="btn_etcjudg" class="btn_sw" visibility="hidden" group="tab" selected="true" style="left:460px; top:219px; width:80px; height:22px; ">
  2411. <caption>기타판정</caption>
  2412. <toggle case="case_etc" ev:event="onclick"/>
  2413. </button>
  2414. <button id="button7" class="btn2_letter7" style="left:603px; top:220px; width:97px; height:19px; ">
  2415. <caption>결과상태로 변경</caption>
  2416. <script type="javascript" ev:event="DOMActivate">
  2417. <![CDATA[
  2418. // if(messageBox("결과상태로 변경", "S001") == 6){
  2419. if(messageBox("결과상태로 변경", "Q002") == 6){
  2420. fSetAcptState("G", "N"); // 결과 상태로 변경
  2421. }
  2422. ]]>
  2423. </script>
  2424. </button>
  2425. <button id="btn_judg" class="btn5_letter4" style="left:705px; top:220px; width:64px; height:19px; ">
  2426. <caption>판정저장</caption>
  2427. <script type="javascript" ev:event="DOMActivate">
  2428. <![CDATA[
  2429. if(messageBox("판정내역을 ", "Q002") == 6){
  2430. fInitSaveData();
  2431. fSaveJudg(true);
  2432. }
  2433. ]]>
  2434. </script>
  2435. </button>
  2436. <button id="btn_totjudg" class="btn_sw" visibility="hidden" group="tab" selected="true" style="left:380px; top:219px; width:80px; height:22px; ">
  2437. <caption>종합소견</caption>
  2438. <toggle case="case_tot" ev:event="onclick"/>
  2439. </button>
  2440. <datagrid id="grd_rsltlst" nodeset="/root/main/acptinfo/rsltlst/item" allowselection="false" autoresize="true" backcoloralternate="transparent" caption="처방일자^분류^실시처방&#xA;유일번호^처방번호^검사코드^명칭^연계결과^결과^검사결과^단위^종류^비고^판정코드^판정값^LIS판정^Low^High" colsep="^" colwidth="70, 148, 69, 63, 74, 195, 71, 97, 62, 58, 43, 67, 80, 60, 60, 42, 42" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" selectionmode="byrow" tooltip="true" style="left:0px; top:1px; width:768px; height:214px; ">
  2441. <col ref="prcpdd" visibility="hidden"/>
  2442. <col disabled="true" ref="reptprntgrupcd" type="combo">
  2443. <choices>
  2444. <itemset nodeset="/root/init/baseinfo/comcodelst/item">
  2445. <label ref="nm"/>
  2446. <value ref="cd"/>
  2447. </itemset>
  2448. </choices>
  2449. </col>
  2450. <col ref="execprcpuniqno" visibility="hidden" style="left:90px; top:23px; width:69px; height:23px; "/>
  2451. <col ref="prcpno" visibility="hidden"/>
  2452. <col ref="testcd"/>
  2453. <col ref="testnm"/>
  2454. <col ref="outtestrsltcnts" visibility="hidden"/>
  2455. <col ref="testrsltcnts" type="input" visibility="hidden"/>
  2456. <col ref="assorsltcnts" type="input"/>
  2457. <col ref="rsltunit"/>
  2458. <col disabled="true" ref="rsltflag" type="combo">
  2459. <choices>
  2460. <itemset nodeset="/root/init/baseinfo/rslttypelst/A0066">
  2461. <label ref="cdnm"/>
  2462. <value ref="cdid"/>
  2463. </itemset>
  2464. </choices>
  2465. </col>
  2466. <col class="gridinput" ref="remcnts" type="input" visibility="hidden"/>
  2467. <col ref="judgcd" visibility="hidden"/>
  2468. <col ref="judgrsltcnts" visibility="visible"/>
  2469. <col ref="judgmark" visibility="hidden"/>
  2470. <col ref="minval"/>
  2471. <col ref="maxval"/>
  2472. <script type="javascript" ev:event="onendedit">
  2473. <![CDATA[
  2474. if(getUserInfo("dutplceinstcd") == "011"){
  2475. if (event.keyCode == 13){ //|| event.button == 1
  2476. // grp_rslt2.visible = false;
  2477. // if(datagrid1.rows != 1){
  2478. // for(var i=datagrid1.rows; i>=datagrid1.fixedRows; i--){
  2479. // datagrid1.deleteRow(i);
  2480. // }
  2481. // }
  2482. grp_asso.visible = false;
  2483. if(grd_assorsltlst.rows != 1){
  2484. for(var i=grd_assorsltlst.rows; i>=grd_assorsltlst.fixedRows; i--){
  2485. grd_assorsltlst.deleteRow(i);
  2486. }
  2487. }
  2488. if (grd_rsltlst.col == window.parent.javascript.col_rslt ) { //window.parent.javascript.col_rslt = 6
  2489. //선택형검사결과의 결과컬럼
  2490. if ((grd_rsltlst.valueMatrix(grd_rsltlst.row,grd_rsltlst.colRef("rsltflag"))=="O")||(grd_rsltlst.valueMatrix(grd_rsltlst.row,grd_rsltlst.colRef("rsltflag"))=="T")){
  2491. var vtestcd = grd_rsltlst.valueMatrix(grd_rsltlst.row , grd_rsltlst.colRef("testcd"));
  2492. var vsubcd = grd_rsltlst.valueMatrix(grd_rsltlst.row , grd_rsltlst.colRef("testrsltcnts"));
  2493. var cdata = fdataValue(vtestcd,vsubcd);
  2494. if (cdata!=null){
  2495. //grd_rsltlst.valueMatrix(grd_rsltlst.row, grd_rsltlst.colRef("judgcd")) = model.getValue("/root/main/tempinfo/choilst/item3["+nodenumber+"]/judgexmpcd");
  2496. //grd_rsltlst.valueMatrix(grd_rsltlst.row, grd_rsltlst.colRef("judgrsltcnts")) = model.getValue("/root/main/tempinfo/choilst/item3["+nodenumber+"]/judgexmpcnts");
  2497. //grd_rsltlst.valueMatrix(grd_rsltlst.row, grd_rsltlst.colRef("testrsltcnts")) = cdata;
  2498. grd_rsltlst.valueMatrix(grd_rsltlst.row, grd_rsltlst.colRef("assorsltcnts")) = cdata;
  2499. }
  2500. }
  2501. if (grd_rsltlst.valueMatrix(grd_rsltlst.row,grd_rsltlst.colRef("rsltflag"))=="N"){//숫자형
  2502. var maxval = eval(grd_rsltlst.valueMatrix(grd_rsltlst.row , grd_rsltlst.colRef("maxval")));
  2503. var minval = eval(grd_rsltlst.valueMatrix(grd_rsltlst.row , grd_rsltlst.colRef("minval")));
  2504. var testrsltcnts = eval(grd_rsltlst.valueMatrix(grd_rsltlst.row , grd_rsltlst.colRef("testrsltcnts")));
  2505. if(maxval < testrsltcnts){
  2506. grd_rsltlst.valueMatrix(grd_rsltlst.row , grd_rsltlst.colRef("judgrsltcnts")) = "H";
  2507. } else if(minval > testrsltcnts){
  2508. grd_rsltlst.valueMatrix(grd_rsltlst.row , grd_rsltlst.colRef("judgrsltcnts")) = "L";
  2509. } else {
  2510. grd_rsltlst.valueMatrix(grd_rsltlst.row , grd_rsltlst.colRef("judgrsltcnts")) = "";
  2511. }
  2512. }
  2513. window.parent.javascript.fCalcRslt(grd_rsltlst.colRef("testrsltcnts"));
  2514. window.parent.javascript.fSetJudgStat(grd_rsltlst.colRef("testrsltcnts"));
  2515. }
  2516. else if(grd_rsltlst.col == window.parent.javaScript.col_assorslt ) {
  2517. if (grd_rsltlst.valueMatrix(grd_rsltlst.row,grd_rsltlst.colRef("rsltflag"))=="O"){
  2518. //선택형검사결과의 공단결과
  2519. var vtestcd = grd_rsltlst.valueMatrix(grd_rsltlst.row , grd_rsltlst.colRef("testcd"));
  2520. var vsubcd = grd_rsltlst.valueMatrix(grd_rsltlst.row , grd_rsltlst.colRef("assorsltcnts"));
  2521. var cdata = fdataValueAsso(vtestcd,vsubcd);
  2522. if(cdata!=null){
  2523. grd_rsltlst.valueMatrix(grd_rsltlst.row, grd_rsltlst.colRef("judgcd")) = model.getValue("/root/main/tempinfo/assorsltlst/itemasso["+nodenumber+"]/judgexmpcd");
  2524. grd_rsltlst.valueMatrix(grd_rsltlst.row, grd_rsltlst.colRef("judgrsltcnts")) = model.getValue("/root/main/tempinfo/assorsltlst/itemasso["+nodenumber+"]/judgexmpcnts");
  2525. //grd_rsltlst.valueMatrix(grd_rsltlst.row, grd_rsltlst.colRef("testrsltcnts")) = cdata;
  2526. grd_rsltlst.valueMatrix(grd_rsltlst.row, grd_rsltlst.colRef("assorsltcnts")) = cdata;
  2527. }
  2528. }
  2529. //window.parent.javascript.fSetAssoRslt(grd_rsltlst.labelMatrix(grd_rsltlst.row, window.parent.javaScript.col_assorslt alert(") );
  2530. /*검사결과 자동계산*/
  2531. window.parent.javascript.fCalcRslt(grd_rsltlst.colRef("assorsltcnts"));
  2532. //window.parent.javascript.fSetJudgStat(grd_rsltlst.colRef("assorsltcnts"));
  2533. }
  2534. grd_rsltlst.row = grd_rsltlst.row +1;
  2535. }
  2536. /*if( ( (grd_rsltlst.col == window.parent.javascript.col_rslt ) || (grd_rsltlst.col == window.parent.javascript.col_assorslt ) ) && (event.keyCode == 13 ) ) {
  2537. if( grd_rsltlst.row < 1) return ;
  2538. if( grd_rsltlst.row < grd_rsltlst.rows ) {
  2539. if(grd_rsltlst.col == window.parent.javaScript.col_assorslt ) {
  2540. window.parent.javascript.fSetAssoRslt(grd_rsltlst.labelMatrix(grd_rsltlst.row, window.parent.javaScript.col_assorslt ) );
  2541. }
  2542. else {
  2543. grd_rsltlst.row = grd_rsltlst.row +1;
  2544. //grd_rsltlst.col = col_rslt;
  2545. //grd_rsltlst.editCell();
  2546. window.parent.javaScript.fSetRsltInptMode();
  2547. }
  2548. }
  2549. }*/
  2550. }
  2551. ]]>
  2552. </script>
  2553. <script type="javascript" ev:event="onclick">
  2554. <![CDATA[
  2555. //window.parent.javascript.fSetRsltInptMode();
  2556. ]]>
  2557. </script>
  2558. <script type="javascript" ev:event="onstartedit">
  2559. <![CDATA[
  2560. if(getUserInfo("dutplceinstcd") == "011"){
  2561. if (grd_rsltlst.valueMatrix(grd_rsltlst.row,grd_rsltlst.colRef("rsltflag"))=="O" && grd_rsltlst.col == grd_rsltlst.colRef("assorsltcnts")){
  2562. var testcd = grd_rsltlst.valueMatrix(grd_rsltlst.row, grd_rsltlst.colRef("testcd"));
  2563. /*
  2564. var nodeCount = getNodesetCount("/root/main/acptinfo/rsltlst/itemexmp");
  2565. for (var i=0; i<=nodeCount;i++){
  2566. if (model.getValue("/root/main/acptinfo/rsltlst/itemexmp["+ i +"]/testcd") == testcd){
  2567. datagrid1.addRow();
  2568. datagrid1.valueMatrix(datagrid1.row, datagrid1.colRef("rsltcd")) = model.getValue("/root/main/acptinfo/rsltlst/itemexmp["+i+"]/rsltcd");
  2569. datagrid1.valueMatrix(datagrid1.row, datagrid1.colRef("rsltnm")) = model.getValue("/root/main/acptinfo/rsltlst/itemexmp["+i+"]/rsltnm");
  2570. }
  2571. }
  2572. grp_rslt2.visible = true;
  2573. */
  2574. model.removeNodeset("/root/main/tempinfo/assorsltlst/itemasso");
  2575. grd_assorsltlst.rebuild();
  2576. var nodeCount = getNodesetCount("/root/main/acptinfo/rsltlst/itemassoexmp");
  2577. for(var i=0; i<=nodeCount; i++){
  2578. if(model.getValue("/root/main/acptinfo/rsltlst/itemassoexmp["+ i +"]/testcd") == testcd){
  2579. grd_assorsltlst.addRow();
  2580. grd_assorsltlst.valueMatrix(grd_assorsltlst.row, grd_assorsltlst.colRef("rsltcd")) = model.getValue("/root/main/acptinfo/rsltlst/itemassoexmp["+i+"]/rsltcd");
  2581. grd_assorsltlst.valueMatrix(grd_assorsltlst.row, grd_assorsltlst.colRef("rsltnm")) = model.getValue("/root/main/acptinfo/rsltlst/itemassoexmp["+i+"]/rsltnm");
  2582. }
  2583. }
  2584. grp_asso.visible = true;
  2585. model.refresh();
  2586. }
  2587. }
  2588. ]]>
  2589. </script>
  2590. </datagrid>
  2591. <group id="grp_asso" visibility="hidden" style="left:310px; top:0px; width:275px; height:245px; ">
  2592. <caption id="caption57" class="tit_2" style="left:5px; top:5px; width:108px; height:14px; ">공단결과입력</caption>
  2593. <datagrid id="grd_assorsltlst" nodeset="/root/main/tempinfo/assorsltlst/itemasso" allowselection="false" caption="코드^결과내용" colsep="^" colwidth="36, 185" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" selectionmode="byrow" style="left:5px; top:23px; width:265px; height:215px; ">
  2594. <col ref="rsltcd"/>
  2595. <col ref="rsltnm"/>
  2596. <script type="javascript" ev:event="ondblclick">
  2597. <![CDATA[
  2598. //그리드의 셀 이외의 곳을 클릭하면 종료한다.
  2599. if(!eval(grd_assorsltlst.iscell(event.target))) return false;
  2600. // 그리드의 헤더부분을 클릭하면 종료한다.
  2601. if(eval(grd_assorsltlst.row) < eval(grd_assorsltlst.fixedRows)) return false;
  2602. var idx = grd_assorsltlst.row;
  2603. if( idx < 1) return ;
  2604. grd_rsltlst.valueMatrix(grd_rsltlst.row, grd_rsltlst.colRef("assorsltcnts")) = model.getValue("/root/main/tempinfo/assorsltlst/itemasso[" + idx + "]/rsltnm" );
  2605. grd_rsltlst.valueMatrix(grd_rsltlst.row, grd_rsltlst.colRef("assorsltcd")) = model.getValue("/root/main/tempinfo/assorsltlst/itemasso[" + idx + "]/rsltcd" );
  2606. grd_rsltlst.rowStatus(grd_rsltlst.row) = 2;
  2607. var nextRow = grd_rsltlst.row + 1
  2608. if(grd_rsltlst.colType(grd_rsltlst.col) == "input" && nextRow < grd_rsltlst.rows) {
  2609. grd_rsltlst.row = nextRow;
  2610. grd_rsltlst.editCell();
  2611. }
  2612. if(grd_rsltlst.valueMatrix(nextRow, grd_rsltlst.colRef("rsltflag")) != "O"){
  2613. grp_asso.visible = false;
  2614. }else{
  2615. grp_asso.visible = true;
  2616. }
  2617. ]]>
  2618. </script>
  2619. </datagrid>
  2620. <line id="line19" class="line_1" style="x1:5px; y1:20px; x2:270px; y2:20px; "/>
  2621. <button id="btn_assoclose" class="icon_plus" style="left:255px; top:4px; width:13px; height:15px; ">
  2622. <caption/>
  2623. <script type="javascript" ev:event="DOMActivate">
  2624. <![CDATA[
  2625. grp_asso.visible = false;
  2626. ]]>
  2627. </script>
  2628. </button>
  2629. </group>
  2630. <button id="btn_small" class="icon_top" style="left:0px; top:1px; width:26px; height:19px; ">
  2631. <caption/>
  2632. <script type="javascript" ev:event="DOMActivate">
  2633. <![CDATA[
  2634. fSetRsltSwtSize(false);
  2635. ]]>
  2636. </script>
  2637. </button>
  2638. <button id="btn_large" class="icon_bottom" style="left:0px; top:1px; width:26px; height:19px; ">
  2639. <caption/>
  2640. <script type="javascript" ev:event="DOMActivate">
  2641. <![CDATA[
  2642. fSetRsltSwtSize(true);
  2643. ]]>
  2644. </script>
  2645. </button>
  2646. </xhtml:body>
  2647. </xhtml:html>